A VERY SIMPLE PASSWORD SCRIPT FOR BEGINNERS.
A VERY SIMPLE PASSWORD SCRIPT FOR BEGINNERS.
API Declarations
In the txtPassword properties,go down to "Text" and erase everyhting so it is blank. Then go down to "Password Character",then put "*". Then double click on the command button that you made and enter the following code. ( Ecellent example of the If Statement.)
Rate A VERY SIMPLE PASSWORD SCRIPT FOR BEGINNERS.
(1(1 Vote))
If txtPassword.Caption = "PASSWORD" Then
Beep
Beep
MsgBox("Password is correct. You will now be taken to the secret area.")
Form2.Show
me.Hide
Else
MsgBox("Wrong password loser. Try again")
End If
End Sub
A VERY SIMPLE PASSWORD SCRIPT FOR BEGINNERS. Comments
No comments yet — be the first to post one!
Post a Comment