Determine what form is loaded at design time.

Posted on 2005-03-27
Medium Priority
Last Modified: 2010-05-02
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?
Question by:NessieB
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 23

Expert Comment

ID: 13640601
You mean as in when you go to Project --> Project1 Properties --> then there is a combo box to allow you to select your startup item , from there select the one you want to start up first.

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()
End Sub

Author Comment

ID: 13641006
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.!
LVL 23

Accepted Solution

gecko_au2003 earned 1000 total points
ID: 13642127
In that case I have no idea, maybe wait for another expert to answer. I don't think that is possible but you never know lol :)

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question