NessieB
asked on
Determine what form is loaded at design time.
My vb project has 5 forms. The one I do most work on has to be loaded after the project opens another form first. So, how do I make the form I need most load first when I open the project at design time?
Can anybody help with this annoying problem?
Can anybody help with this annoying problem?
ASKER
Sorry - no thatisntwhatI meant.
When you open your project.vbp; the code design forms load in a cetain order. I want the code form that I dothemost work on to load uppermost to saveme from continually havingto select it fromthe project explorer. It drives me mad that I have always select the required form before I can work on it.!
When you open your project.vbp; the code design forms load in a cetain order. I want the code form that I dothemost work on to load uppermost to saveme from continually havingto select it fromthe project explorer. It drives me mad that I have always select the required form before I can work on it.!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Other then that just put FormName.Show in the form_load event so that the other one shows and if you want the first one to hide then put FormName.Hide
For example (This is assuming Form2 is the one you want to show as it is the one you use most and Form1 is the one you use least ):
Private Sub Form_Load()
Form1.hide
Form2.Show
End Sub