June 2006
Intermediate to advanced
1344 pages
42h 52m
English
We begin by considering a simple program (Fig. 3.1) that displays a line of text. When this program runs, its output appears in a Command Prompt window. We show such output in a blue box following the program listing. You will see what a Command Prompt window looks like later in this section, when we explain the process of creating a console application.
1 ' Fig. 3.1: Welcome1.vb 2 ' Simple Visual Basic program. 3 4 Module FirstWelcome 5 6 Sub Main() 7 8 Console.WriteLine("Welcome to Visual Basic!") 9 10 End Sub ' Main 11 12 End Module ' FirstWelcome
|
This program illustrates several important Visual Basic features. ...
Read now
Unlock full access