Home VB.NET 1 VB.NET 2 VB.NET 3 VB.NET 4 VB.NET 5 VB.NET 6 VB.NET 7 VB.NET 8 VB.NET 9 VB.NET 10 VB.NET 11 VB.NET 12 VB.NET 13 VB.NET 14 VB.NET 15 VB.NET 16 VB.NET 17 About

VB.NET 1

Code, Design and Applications


OBJECT ORIENTED/EVENT DRIVEN HIGH LEVEL LANGUAGE

The Object-oriented/event-driven high-level languages simplified the task of programming application for Windows. In Object-oriented/event-driven languages, the emphasis of a program is which is on the objects included in the user interface such as scroll bars and buttons and the events such as scrolling and clicking that occur when those objects are used.

Visual Basic .NET is an object-oriented/event driven programming language that is easy enough for a nonprogrammer to use, yet sophisticated enough to be used by professional programmers.

Sample Code

The figure shows the Visual Basic .Net instructions that direct an object to close the application when the user clicks the object.

Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click

   Me.Close()

End Sub

Although computers appear to be amazingly intelligent machines, they cannot think on their own. Computers still rely on human beings to give them directions. These directions are called programs, and the people who write the programs are called programmers.