O'Reilly logo

Programming Visual Basic 2008 by Tim Patrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Project

This chapter's project officially kicks off the coding of the Library Project (muted applause). We'll start off with something simple: building the About form that provides basic information about the application, including its version number.

PROJECT ACCESS

Load the Chapter 5 (Before) Code project, either through the New Project templates or by accessing the project directly from the installation directory. To see the code in its final form, load Chapter 5 (After) Code instead.

Our goal is a pleasant form that conveys basic information about the program, a form that looks something like Figure 5-4.

Everything you wanted to know about the program

Figure 5-4. Everything you wanted to know about the program

Like any Visual Basic application for Windows, the creation of this form involves two steps: (1) adding controls to the form; and (2) writing the related code.

Adding Controls

If there is one area where Visual Basic excels, it is form creation. Programs can be created by the simple dragging and dropping of prebuilt controls onto the surface of a prebuilt form. It's all done from within the comfort and convenience of the Visual Studio Integrated Development Environment (IDE), as shown in Figure 5-5.

The Visual Studio environment

Figure 5-5. The Visual Studio environment

The displayed environment includes four key areas, which I've labeled with letters in Figure 5-5 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required