Visual Basic Express 2013
Visual Basic Express 2013
The Integrated Development Environment when you launch Visual Studio 2013 Express is shown in the diagram below.
The New Project Page comprises three templates, Visual Basic, Visual C# and Visual C++. Since we are going to learn Visual Basic 2013, we shall select
Visual Basic. Visual Basic 2013 offers you four types of projects that you can create, they are Windows Forms Application, WPF Application, Console
Application and Class Library. Since we are going to learn to create windows Applications, we will select Windows Forms Application.
At the bottom of this dialog box, you can change the default project name WindowsApplication1 to some other name you like, for example,
MyFirstProgram. After you have renamed the project, click OK to continue. The following IDE Windows will appear, it is similar to Visual Basic 2012. The
Toolbox is not shown until you click on the Toolbox tab.When you click on the Toolbox tab or use the shortcut keys Ctrl+w+x, the common controls
Toolbox will appear.
Visual Basic Express 2013 IDE comprises a few windows, the Form window , the Solution Explorer window and the Properties window . It also consists of
a toolbox which contains many useful controls that allows a programmer to develop his or her Visual Basic 2013 programs. The toolbox is shown in Figure
1.4.
Now, we shall proceed to show you how to create your first program. First, change the text of the form to My First Program in the properties window, it will
appear as the title of the program. Next, insert a button and change its text to OK. The design interface is shown in Figure 1.5
Now click on the OK button to bring up the code window and enter the following statement between Private Sub and End Sub procedure, as shown in
Figure 1.6:
MsgBox(My First Visual Basic 2013 Program)
Now click on the Start on the toolbar or press F5 to run the program then click on the OK button, a dialog box that displays the My First Visual Basic 2013
Program message will appear,as shown in Figure 1.7: