Changes

A Simple Visual Basic Example

347 bytes added, 19:55, 19 July 2007
Building and Running a Visual Basic Application
== Building and Running a Visual Basic Application ==
Now that we have completed the design and implementation of a simple Visual basic Basic application we can compile and run it. To do so build the application, select ''Build myVBapp'' from the Visual Studio ''Build'' menu. Assuming there are no problems the application should compile without any errors (the message ''Build succeeded'' should appear in the status bar at the bottom of the Visual Studio screen).
Once built, the application can be run by selecting ''Start Debugging'' from the ''Debug'' menu. An even quicker way of building and running the application is to simply press '''F5'''. This will compile and run the application without having to use any menu options. As you develop Visual Basic applications in Visual Studio you will find yourself using the '''F5''' shortcut more than any other key on your keyboard. After a few seconds the application should appear just as you designed it in the Visual Studio designer:
[[Image:running_vb_app.jpg]]