Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with Visual Basic Express Programming:
#1
So I have 3 forms inside a project:
1: Login
2: Launchpad
3: Irrelevant but: About

The first one that comes up upon start is "Login"
It has 2 text box forms, with "Username" and "Password"
and then a login button (See code Below)

My problem is, I have it set to if the login information is correct, close the "Login" window and open the "Launchpad" Form. And what happens is, when I fill it out correctly, and click login, it opens launchpad really fast and then closes everything. Please help.

Code:
If TextBox1.Text = "a" And TextBox2.Text = "a" Then
            Launchpad.Show()
            Me.Close()
        Else : MsgBox("You have specified an Incorrect Username or Password, Please Try Again. If problems still persist, please contact Support.")
        End If


Messages In This Thread
Issue with Visual Basic Express Programming: - by Zantox - 08-26-2012, 08:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Choosing Programming Language manishshrestha60 2 12,092 09-02-2012, 12:16 PM
Last Post: Macatone
  What is your opinion on Visual Studio 2012? Moldraxian 5 21,014 08-17-2012, 05:35 AM
Last Post: Moldraxian
  Possible Visual C++ Topic Page? Moldraxian 2 12,249 08-09-2012, 12:33 PM
Last Post: brandonio21
  Visual basic 2008 /Error/ Need Urgent Help// Himansh 0 6,141 03-18-2012, 06:38 AM
Last Post: Himansh
  PHP Programming... =D Duckman 4 16,755 03-18-2011, 10:29 AM
Last Post: Duckman
  Visual basic related xolara 4 17,247 10-17-2010, 10:57 AM
Last Post: selimaydi

Forum Jump:


Users browsing this thread: 1 Guest(s)