To start Vb.net from your computer, go to Start Menu->All Programs->Visual Studio (2015). A splash screen will display for a view seconds and finally, a dashboard will be displayed.
Then click on the File menu and select “New project”
On the template (Top left of the form), select Visual Basic and make sure “Windows Form Application” is selected as shown on the image below.
You may also change the .net framework that you are targeting on the middle top part of the “New Project” screen. However, the default .net Framework 2.0 should work for light-weight programs.
At the bottom, you will see a textbox for naming your project; just use a self descriptive name like ‘MyFirstApp’. Also, you need to select a folder where your project’s file will be saved. The solution name will be filled by default and you can leave it that way. Then click ‘OK’ to start the new project.
Parts of a VB.NET Integrated Development Environment (IDE)
You can use the file menu to save or open your vb.net project, edit, find and replace text. You can also use the View Menu to display the toolbox or solutions explorer if they are not visible. The project menu is used to add new forms, classes or modules.
The tool bar contains different shortcuts for opening/saving projects as well as running your project once it is ready for debugging.
It appears on the bottom of the vb.net IDE. It displays the status of the current operation. By default, it will display a “Ready” status but this will change once your run the application.
The solutions explorer appears at the right-most part of the vb.net IDE. It displays all the objects that you are using on your project including your forms, datasets, reports, modules, references and different resources that you have used on your project
The vb.net tool box displays different visual objects/tools that you can use on your form. The most common tools include:
- Command Button
- Radio button
- Combo box
- Picture box
- Date & Time Picker and
- Progress Bar
If you want to use any of the above controls, just click it and point your mouse on the default form to draw the control.
Once you have mastered the parts of a Visual Studio IDE, we need to proceed to creating the first vb.net software – the Hello World! Application