JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Setting the Startup Form

Well, the program is complete, and you've saved writing the best for last: the opening form in which you greet the user. Unfortunately, that greeting form is Form249, and when you actually test the program, Visual Basic pops Form1, the Import File dialog box, onto the screen first. How can you make the program start with Form249?

Just right-click your project in the Solutions Explorer, select Properties, then select the Common Properties folder and the General item in the box at left. Next, select Form249 from the Startup Object drop-down list on the right, click OK, and you're done. That's it—now the program will display the form you've selected first when the program runs.

Previous Section Next Section

JavaScript Editor Free JavaScript Editor     JavaScript Editor