Re: Please Help!! Im on a deadline and I cant figure this out!!
Yeah, it should. Give me 2 minutes to check something.
Re: Please Help!! Im on a deadline and I cant figure this out!!
Re: Please Help!! Im on a deadline and I cant figure this out!!
Somewhere along the line your arrUsername() and arrPassword() declarations got messed up. They should look like this:
Code:
Dim arrUsernames() As String = {"Admin", "Clerk", "Manager"}
Dim arrPasswords() As String = {"P@ssword", "pa$$word", "passw0rd"}
Note that each username and password are enclosed in quotes and separated by commas.
Once that is corrected it should be working.
Re: Please Help!! Im on a deadline and I cant figure this out!!
Taking all of the code you posted and making the correction that I reference above I got the program to work properly, testing with valid username/password, valid username and invalid password, and invalid username.
So once you make that final change it should all be working.
Re: Please Help!! Im on a deadline and I cant figure this out!!
Quote:
Originally Posted by
OptionBase1
Taking all of the code you posted and making the correction that I reference above I got the program to work properly, testing with valid username/password, valid username and invalid password, and invalid username.
So once you make that final change it should all be working.
ok I fixed that..But now its saying on line 4 of my main code EXPRESSION EXPECTED BC30201??
Re: Please Help!! Im on a deadline and I cant figure this out!!
Quote:
Originally Posted by
OptionBase1
Taking all of the code you posted and making the correction that I reference above I got the program to work properly, testing with valid username/password, valid username and invalid password, and invalid username.
So once you make that final change it should all be working.
Oh never mind I fixed it!! It works great thank you so much again!! lol:)