| {Basic} Wanna pw protect any of your own coded programs? {VB6} Make a new form or use existing i dont mind.
Now make a textbox make sure its called "txtPassword".
Now make a command button and call it "cmdCheck"
Now double click on the command button. There will be 2 lines of coding there, click in the middle of them and type:
If txtPassword = "your password here" Then
me.hide
YOURNEXTFORMSNAMEHERE.show
Else
unload me
End If
End Sub |