Visual Basic (.NET)

Evolving from Microsoft’s original Visual Basic, Visual Basic .NET represents a major improvement over classic VB, largely because it adopts a fully modern, object-oriented programming model. Microsoft introduced VB.NET as part of the .NET framework to allow existing VB developers to transition smoothly into the new platform while gaining access to its full capabilities.

Similarities

Classic Visual Basic was known for being simple and fast to develop with, though it lacked many advanced programming features. Visual Basic .NET preserves much of that ease of use while offering significantly greater flexibility, power, and access to the extensive .NET libraries.

A classic VB example:


Private Sub Command1_Click()
    MsgBox ("Hello, World")
End Sub
  

The VB.NET version:


Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click
    MessageBox.Show("You pressed the test button")
End Sub
  

The syntax is only slightly more complex, but thanks to the .NET framework, the language gains far greater capability and extensibility.

Links

GotDotNet User Samples


PeatSoft - Wikipedia - AI