Q. How to compile and execute a VB.NET program?
Ans.
Compile & Execute VB.Net Program
If you are using Visual Studio.Net IDE, take the following steps -
- Start Visual Studio.
- On the menu bar, choose File --> New --> Project.
- Choose Visual Basic from templates
- Choose Console Application.
- Specify a name and location for your project using the Browse button, and then choose the OK button.
- The new project appears in Solution Explorer.
- Write code in the Code Editor.
- Click the Run button or the F5 key to run the project. A Command Prompt window appears that contains the line Hello World.