-
Jan 25th, 2018, 08:05 PM
#121
Re: Please Help!! Im on a deadline and I cant figure this out!!
Yeah, it should. Give me 2 minutes to check something.
-
Jan 25th, 2018, 08:11 PM
#122
Re: Please Help!! Im on a deadline and I cant figure this out!!
-
Jan 25th, 2018, 08:15 PM
#123
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.
-
Jan 25th, 2018, 08:46 PM
#124
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.
-
Jan 26th, 2018, 01:47 AM
#125
Thread Starter
Addicted Member
Re: Please Help!! Im on a deadline and I cant figure this out!!
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??
-
Jan 26th, 2018, 01:55 AM
#126
Thread Starter
Addicted Member
Re: Please Help!! Im on a deadline and I cant figure this out!!
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|