HI, I am having a few problems, I want to make a simple login that will read a text file where the "username","password" will be, it will be displayed like this:
"username1","password1"
"username2","password2"
etc, I would like it so that the login form will read the data, if a user enters wrong username or wrong pass then they will get a message, so obv if you have two text boxes,
Username[____________] Password[_________________]
username1 would have to match with password1,
Anyway I need the right code to help me do this, as I have create a simple registration process that writes the username/password as above into a text file:
(registration)
Dim savefile As Long
savefile = FreeFile()
Open "I:\new-work\savedfile.txt" For Output As #savefile
Write #savefile, (Text1.Text); (Text2.Text)
Close #savefile