SPIEGAZIONE
The coders used the If Cicle for a simple program in VB6. For example with this Cicle you can create a system of login.
The cicle composed by:
IF= start of cicle
Then= action will be
Else If= for add a new If in the same Cicle
End If= end of cicle
EXAMPLE
Quote:
cmdLogin_()
If Text1.Text = "password" Then
nomefordavisualizzare.Show
Else If Text1.Text = "" Then
msgbox "Inserisci i dati", vbCritical, "Errore"
End If

