I need to create a mini program which includes a Do While loop!!! this is the code below i need to do it for a password i need to make it so it only allows that password! look at the code andu you will understand!!
Dim password As Integer
password = InputBox("What is your password? ", "Please enter your password")
Do While password <> jim06fr
password = InputBox("Sorry. " & password & " is incorrect. Please try again. Please re-enter your password", "Password")
Loop
MsgBox("Welcome , your password is correct!", MsgBoxStyle.OkOnly, "Welcome")
it wont allow me to have that password (jim06fr) it has a blue line underneath says its not declared
WHAT DO I DO??? HELP! PLEASE QUICK!!
Thanks! QUICK HELP would be nice!! thanks again!
2006-12-20
07:47:06
·
8 answers
·
asked by
Loz
1
in
Computers & Internet
➔ Programming & Design