|
-
October 2nd, 2001, 10:53 AM
#1
Compile error
My project starts with login form, after the password validation the form1 should be load.
My question is from the following code the compile error comming.
Variable not defined.
Private Sub cmdOK_Click()
If txtPassword = "password" Then
LoginSucceeded = True
Me.Hide
Load Form1
Else
MsgBox "Invalid Password, try again!", , "Login"
txtPassword.SetFocus
SendKeys "{Home}+{End}"
End If
End Sub
Please give me some solution
Sridhar
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
|