Password Protecting Your Programs (Creds: JoshA56)
Compatibility: Visual Basic 6.0
Level: Beginner
What You Need To Have:
-A command button
-A Textbox
Process:
Double click on the command button so the code window opens and enter in this:
Compatibility: Visual Basic 6.0
Level: Beginner
What You Need To Have:
-A command button
-A Textbox
Process:
Double click on the command button so the code window opens and enter in this:
Code:
Private Sub Command1_Click() If text1.text <> "Your Password Here" Then 'they entered in an INCORRECT password MsgBox "Incorrect" Else 'they entered in the CORRECT password MsgBox "Correct" End If End Sub





