Tools Links Login

Accept multiple passwords.

Accept multiple passwords, yet still deny access for wrong password entries.

Original Author: zach smith

Code

Dim Pw1 As String
Dim Pw2 As String
Pw1 = "password1"
Pw2 = "password2"
If Text1 = Pw1 Then
MsgBox "you entered the correct password"
Else
If Text1 = Pw2 Then
MsgBox "you entered the correct password"
Else
MsgBox "wrong password, please try again"
End If
End If

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 313 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.