Global Systems Design Home

    Visual Basic Tips / Changing the startup form for a project

Often you may start a project with one design in mind, then further down the road you change your mind. If you've started a project and now at this point you've added a form or two, and finally made the decision that you want a different form to be the one which loads first when you start your new Visual Basic program.

So, how do we do this? Fortunately it's pretty easy, just follow the steps below.

Select TOOLS, OPTIONS from the Visual Basic IDE menus. The following dialog will appear:
Javascript Image Swap ExampleMake sure the Project Tab is selected, and all of the forms in your project will be listed in the drop down list under the words "Startup Form".

Select the form you want, and click OK at the bottom of the dialog.

You can also change your Projects name here just to the right, as well as being able to specify where the help file for your application is and a few other things.

To see the drop down list and some examples of other changed data on this dialog, put your mouse over the image at the left.

To see how the image swap is done, click the picture. 8-)