Im using something like this to write to the text file:
VB Code:
Open "C:\test.txt" For Append As #1 Print #1, Text1.Text & "=" & Text2.Text Close #1
which writes into the text file like this:
John=3565 (where John is the text1 name and 3565 is the text2 ID)
But now, if I make 2 more text boxes..
Text3.Text and Text4.Text, and i enter John in Text3.Text and 3565 in Text4.Text, and then i clikc Command1 button, how can i make it msgbox that the username=id is a correct combination?
otherwise i need it to msgbox that its a wrong username/ID etc..
hope you guys know what i mean, thanks in advance!!




Reply With Quote