If , Then , Else , etc
Résolu
Lanzo31
Messages postés
83
Statut
Membre
-
keurdange Messages postés 816 Statut Membre -
keurdange Messages postés 816 Statut Membre -
Bonjour,
je voudrais que quand on appui sur un button il verifie le texte entrée dans la TextBox et que si le texte est bon il fait apparaitre une autre Form voici mon code qui ne marche pas :
If TextBox1("Pierre a 21 ans") Then
Form2.Show()
Me.Close()
Else : MsgBox("Your command is false !", MsgBoxStyle.Critical, )
End If
Merci cordialement Lanzo
je voudrais que quand on appui sur un button il verifie le texte entrée dans la TextBox et que si le texte est bon il fait apparaitre une autre Form voici mon code qui ne marche pas :
If TextBox1("Pierre a 21 ans") Then
Form2.Show()
Me.Close()
Else : MsgBox("Your command is false !", MsgBoxStyle.Critical, )
End If
Merci cordialement Lanzo
A voir également:
- If , Then , Else , etc
- Miswiring check wiring then power on ✓ - Forum Autoradio
- Poste JVC,message "Miswiring chk wiring" - Forum Autoradio
- The realtek network controller was not found. if deep sleep mode is enabled please plug the cable - Forum Pilotes (drivers)
- Turn off then on - Forum Matériel & Système
- Carte ethernet deep sleep mode ✓ - Forum Pilotes (drivers)