1 Attachment(s)
Please help, been stuck 3 days (3rd try)
I'm using Visual Basic 5, so I cannot use the splt function. Most of the help that I've got has used that function. I declare my subs using option explicit. In my program: the users type in a name and password. I need to compare the inputted user name and password to a list of accounts in a text file. I must use a text file. I have uploaded a copy of my account file. It will be helpful to know how to read the text file or use the database control with connection as text.
Either way I have to figure out how to compare the inputted strings with the accounts in the text file for validation. Please help. I've been working on this for 3 days. I'm desperate. Begging..... On my knees.... Please God help me!..................
Sorry, just frustrated with this code.
Thanks in advance.
Nemesys
"The text file is below"
Re: Please help, been stuck 3 days (3rd try)
Quote:
Originally posted by nemesys777
I'm using Visual Basic 5, so I cannot use the splt function. Most of the help that I've got has used that function. I declare my subs using option explicit. In my program: the users type in a name and password. I need to compare the inputted user name and password to a list of accounts in a text file. I must use a text file. I have uploaded a copy of my account file. It will be helpful to know how to read the text file or use the database control with connection as text.
Either way I have to figure out how to compare the inputted strings with the accounts in the text file for validation. Please help. I've been working on this for 3 days. I'm desperate. Begging..... On my knees.... Please God help me!..................
Sorry, just frustrated with this code.
Thanks in advance.
Nemesys
"The text file is below"
I don't understand can't you do a line input in a loop reading the data file to get each line of text, use an instr to do the comparison with the text box?