|
-
Mar 11th, 2001, 05:07 PM
#1
Thread Starter
Junior Member
Hi! Folks,
As I am new to VbEnterprize I would be greatful for some help with the following:
Password.
Private Sub cmdEnter_Click()
Dim password As String
password = "123"
If txtPassword.Text = password Then
frmServices.Show
End If
If txtPassword.Text <> password Then
MsgBox ("Wrong Password. Please Try again"), vbRetryCancel
End If
txtPassword.Text = ""
End Sub
I would like password as Integer and not string so I can use numbers only in the password.
Enter:
cmdEnter_Click()
What code do I need to use to enter the password using the return Key also.
Many thanks.
Bill
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|