Tools Links Login

Password Protection! For Beginners

Protect your project with a password of your choice. For beginners! (o:

Original Author: SeeD

Inputs

Follow these simple instructions. (o:
1) Open a new project in your Visual Basic.
2) Make 1 Text Box and Make 1 Command button.
3) Make the Text Boxes caption blank. Make the command buttons caption "ok"

Code

'Put this in your Command1 code. (o:
Private Sub Command1_Click()

If Text1.Text = "idunno" Then

MsgBox "You got it right!", 8, "Right Password!"
Else
MsgBox "You got it wrong!", 8, "Wrong Password!"
End If
End Sub

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 92 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.