VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A VERY SIMPLE PASSWORD SCRIPT FOR BEGINNERS.

by 360fliper (3 Submissions)
Category: Encryption
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 3rd January 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

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.



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

Download this snippet    Add to My Saved Code

A VERY SIMPLE PASSWORD SCRIPT FOR BEGINNERS. Comments

No comments have been posted about A VERY SIMPLE PASSWORD SCRIPT FOR BEGINNERS.. Why not be the first to post a comment about A VERY SIMPLE PASSWORD SCRIPT FOR BEGINNERS..

Post your comment

Subject:
Message:
0/1000 characters