Changes

Jump to: navigation, search

A Simple Visual Basic Example

16 bytes added, 18:46, 16 July 2007
Adding Controls to the Form
For the purposes of our example Visual Basic application we are going to add two controls to our form, a push button and a label. To achieve this we first need to access the Visual Studio Toolbox. Along the right hand side of the Visual Studio main window you should see a tab labeled ''Toolbox''. Click on this tab to display the ''Toolbox''. It should appear as follows:
[[Image:Exampvisual_studio_toolbox.jpg]]
This Toolbox contains all the controls that may be used to build a Graphical User Interface for a Windows application. The toolbox will auto-hide by default, that is it will disappear when the mouse pointer is moved away from it. To make it permanently visible click on the push pin icon at the top of the toolbox window. Once it is pinned in place it will not auto-hide. It is also possible to detach the toolbox so that it will float and can be positioned anywhere on the desktop. To do so simply click on the toolbox title area and drag it.

Navigation menu