cs_Tortuegeniale
Messages postés1123Date d'inscriptionlundi 7 janvier 2002StatutMembreDernière intervention26 juin 2008
-
11 avril 2002 à 23:51
Ylaosusdiande
Messages postés15Date d'inscriptionjeudi 11 avril 2002StatutMembreDernière intervention13 mars 2006
-
12 avril 2002 à 18:03
Cette discussion concerne un article du site. Pour la consulter dans son contexte d'origine, cliquez sur le lien ci-dessous.
Ylaosusdiande
Messages postés15Date d'inscriptionjeudi 11 avril 2002StatutMembreDernière intervention13 mars 2006 12 avril 2002 à 18:03
tu l'as eu cette fois malin!!!!!!!!!!!!!!!!!
cs_Tortuegeniale
Messages postés1123Date d'inscriptionlundi 7 janvier 2002StatutMembreDernière intervention26 juin 2008 11 avril 2002 à 23:51
y a plus simple, il faut 2 textbox et 1 bouton
Private Sub Command1_Click()
If InStr(Text1.Text, Text2.Text) Then' cherche
MsgBox "le mot " & Text2.Text & " est dans le texte" ' si oui
Else
MsgBox " Le mot " & Text2.Text & " n'est pas dans le text" ' si non
End If
End Sub
12 avril 2002 à 18:03
11 avril 2002 à 23:51
Private Sub Command1_Click()
If InStr(Text1.Text, Text2.Text) Then' cherche
MsgBox "le mot " & Text2.Text & " est dans le texte" ' si oui
Else
MsgBox " Le mot " & Text2.Text & " n'est pas dans le text" ' si non
End If
End Sub