Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Loading form2 first

Options
  • 16-11-2009 8:41pm
    #1
    Closed Accounts Posts: 496 ✭✭


    VB 2008 questions pretty simple
    I want form 2 to load first as I need it for a query window for my database

    I've tried a number of way,
    In form1 load
    Me.hide()
    Form2.show

    doesn't work
    form1 load
    Form2.show

    form2 load
    form1.hide

    I've tried many variations on this :S

    Ideas?

    Or is it simply not possible to have a window dialog anything to open before form1?


Comments

  • Registered Users Posts: 1,422 ✭✭✭Merrion


    You can change the startup object ... right click on the project file, select "Properties", on the [Application] tab change the Startup object: in the drop-down.


  • Closed Accounts Posts: 496 ✭✭j0e


    Thank you


Advertisement