Results 1 to 4 of 4

Thread: forms

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    25

    Unhappy


    I am having troulbe loading forms.

    Here is my situation. I have one form that starts the project and prompts for a password with a text box and a single command button. After they enter the correct password i want the second form to load. My problem is that I cannot figure out how to get the next form to load after the password is entered.

    Please help, and thank you in advance.

    badhaiku
    .gotta start somewhere

  2. #2
    Guest
    Code:
    Private Sub Command1_Click()
    If text1.text = "pass" Then
    Form2.show
    Unload Me
    Else
    End If
    End Sub

  3. #3
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    ..same horse..different color....

    If Text1.Text = "Pass" Then
    Unload Form1
    Set Form1 = Nothing
    Load Form2
    Form2.Show
    End If
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    25

    Talking thanks!!

    Thanks alot!! Learn something new everyday!

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