Your First Visual Basic Program

The following example walks you through the creation of a fully functional Visual Basic program. You might not have access to a Visual Basic system, and you might never have used Windows. Even so, this example and the remaining chapters in this part give you a glimpse of Visual Basic.

To write a fully functional Visual Basic Windows program, all you have to do is start Visual Basic. Select Standard EXE from the Project window and then double-click the box in the center of the screen. You will see a window open up such as the one shown in Figure 5.1.

Figure 5.1. You've now opened Visual Basic's code window.

The window ...

Get Absolute Beginner's Guide to Programming, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.