Running Your Program

I’ll bet you’re anxious to see your program in action! Before running it, however, make sure you save your work so far. To run the program, you need to execute Visual Basic’s Start command using any of these methods:

  • Click the Start button on the Visual Basic toolbar.

  • Choose Debug, Start from the menu system.

  • Press F5.

When you execute the Start command, Visual Basic compiles your program to check for certain types of errors; if your Output window is visible, you will see the results as it builds the application. If no errors are found, the program will begin executing and you’ll see your user interface. Notice in Visual Basic’s ...

Get Special Edition Using Microsoft® Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.