Jump to content

Visual Basic (.NET)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 68.52.223.88 (talk) at 22:19, 11 April 2003. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Deriving from Microsoft's Visual Basic, Visual Basic .NET is an improvement from classic VB, mainly because it is object-oriented. This new computer language was created for Microsoft's .NET framework as a bridge to a more powerful language, C#.

Similarities

Classical Visual Basic was easy, quick, but not too powerful. With Visual Basic .NET it is almost as easy, but much more extensible.

Classic VB example: Private Sub Command1_Click()

  MsgBox ("Hello, World")

End Sub

Look at the VB.NET example:

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

Not much more complicated, but by using the .NET framework, much more powerful.

GotDotNet .NET Resource Website