I'm making a login in system using one notepad document to store the usernames and passwords.
I was wondering if somebody could help me do this as at the moment I'm struggling to get it to match the username to the correct password.
On the first line of the notepad, I'd have the username: User.
On the 2nd line of the notepad, I'd have the password: Pass.
Now want I'm struggling to do is to get the system to read and match the username its correct password as well as being able to add new users to the list.
Heres basicly what I'm trying to do:
Text1.Text = "User"
Open notepad document
Find line that matchs "User"
Read Next Line = Password
If Text2.Text = Password
Then Login accepted
Msgbox "Incorrect Password"