As discussed in VB Introduction, Visual Basic (VB) programming language has been built on .NET Framework to build various secure and robust applications such as windows, web, or database applications based on our requirements.
To run Visual Basic (VB) applications, we require to install a .NET Framework component on our machines. If you are using a Windows operating system, the .NET Framework is installed on your machine by default. To know more about the .NET Framework versions installed on your machine, check this .NET Framework Versions.
Microsoft has provided an IDE (Integrated Development Environment) tool called Visual Studio to build applications using programming languages such as C#, F#, Visual Basic, etc., based on our requirements.
The Visual Studio IDE will provide a common user interface with various development tools to build applications with different programming languages such as C#, F#, Visual Basic, etc.
To install and use Visual Studio for a commercial purpose, we need to buy a license from Microsoft. If you want to use Visual Studio for learning (non-commercial) purposes, Microsoft provided a free Visual Studio Community version.
You can download and install a Visual Studio Community version from visualstudio.com. In our Visual Basic (VB) tutorial, we will use the Visual Studio 2017 community version.
Now we will see how to create a console application using visual studio in a visual basic programming language.
After completing a visual studio installation, open visual studio and it will be prompted to sign in for the first time. The sign-in step is optional, so you can skip it, and in the next step, the dialog box will appear and ask you to choose your Development Settings and color theme. Once you select the required options, click on the Start Visual Studio option as shown below.
After the visual studio launch, create a new console application using a visual basic programming language; for that, Go to File à New à select a Project like as shown below.
Once you click on Project, a new popup will open in that select Visual Basic from the left pane and choose Console App. In the Name section, give any name for your project and select an appropriate Location path to save your project files, and click OK like as shown below.
Once we click on the OK button, a new console application will be created like as shown below.
This is how we can create a console application in a visual basic programming language using a visual studio based on our requirements.