Results 1 to 2 of 2

Thread: yo James

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Posts
    2

    yo James

    Help
    Attached Files Attached Files

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Here the code you need

    VB Code:
    1. Private Sub cmdOK_Click()
    2.     If txtPassword = "password" Then
    3.         LoginSucceeded = True
    4.         Load frmMain
    5.         frmMain.Label3.Caption = Me.txtUserName.Text
    6.         Unload Me
    7.         frmMain.Show
    8.     Else
    9.         MsgBox "Invalid Password, try again!", , "Login"
    10.         txtPassword.SetFocus
    11.         SendKeys "{Home}+{End}"
    12.     End If
    13. End Sub
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width