Visual Basic .NET

programming language for .NET

Visual Basic .NET is the second series of Microsoft's Visual Basic series. It is sometimes shortened to VB.NET. It is an IDE (Integrated Development Environment) and it includes an easy 'drag-and-drop' interface. It can make complete programs for Windows very easily.

Visual Basic .NET
ParadigmStructured, imperative, object-oriented and declarative
Designed byMicrosoft
DeveloperMicrosoft
First appeared2001
Stable release17.9.2[1] Edit this on Wikidata / 27 February 2024; 7 months ago (27 February 2024)
Typing disciplineStatic, both strong and weak, both safe and unsafe, nominative
PlatformCLR
OSChiefly Windows
Also on Android, BSD, iOS, Linux, Mac OS X, Solaris and Unix
Filename extensions.vb
Websitemsdn.microsoft.com/en-us/vstudio/hh388573
Major implementations
Microsoft Visual Studio, Microsoft Visual Studio Express, SharpDevelop, MonoDevelop, .NET Framework SDK and Mono
Dialects
Microsoft Visual Basic
Influenced by
.NET Framework

Background

change

Visual Basic

change

It was first released in 1992 by Microsoft. Visual Basic is a simple way to make programs for Windows. It started as Project Ruby by Alan Cooper and then was sold to Microsoft. The system is built loosely on the original BASIC programming language released in 1963 and it can 'Test' programs in real-time, error checking them in a user-friendly way.

.NET Framework

change

This package is the 'backbone' of Visual Basic .NET. When applications are created, the Windows Installer includes the framework with it. It includes all the items needed to run the VB.NET applications that have been made.

Editions

change

Visual Basic was first released in May 1991 for Windows. Many versions have been released since then. These are listed below:

Name Operating System Date Released
Visual Basic .NET Windows 2002
Visual Basic .NET 2003 Windows 2003
Visual Basic 2005 Windows 2005
Visual Basic 2005 Studio Windows 2005
Visual Basic 2008 Studio Windows 2008
Visual Basic 2010 Studio Windows 2010

Visual Basic 2010 Express Edition

change

This is a free version of Visual Basic 2010 released officially from Microsoft. It is aimed at encouraging more newbie programmers to try the series. The program can be downloaded from Microsoft's Website.

Controls

change

Visual Basic .NET uses many controls which can be added to the forms or windows in the application. Other developers can create controls for applications, not just the ones that Microsoft include.

Examples

change

The following example makes a program window pop up that says "Hello World" and has a button that says "OK" used to close the window:

Public Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click
    MsgBox("Hello World")
End Sub

Other websites

change
  1. "Visual Studio 2022 version 17.9.2 Release Notes". 27 February 2024. Retrieved 27 February 2024.