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:
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
Glad to see you can copy and paste >.>
Originally Posted by IceGuru
Glad to see you can copy and paste >.>
Yes I got this information from the net...
It cost alot of search time, so you can be thankfull, and if you have nothing with VB piss off than. Thanks you.