Sams Teach Yourself Visual Basic 6 in 24 Hours

Sams Teach Yourself Visual Basic 6 in 24 Hours

By Greg Perry

Starting Visual Basic

You start Visual Basic from the Windows Start menu. The Visual Basic development environment itself usually appears on a Microsoft Visual Basic 6.0 submenu, although yours might be called something different due to installation differences. You'll see additional programs listed on the submenu, but when you select Visual Basic 6.0 from the submenu, Visual Basic loads and appears on your screen.

A dialog box similar to Figure 1.1 appears as soon as you start Visual Basic. The exact dialog box you see may differ slightly depending on your version of VB 6.0.

01fig01.gif

Figure 1.1 The New Project dialog box appears when you start VB.

After you close the dialog box, the regular Visual Basic screen appears. As Figure 1.2 shows, VB's opening screen can get busy! Figure 1.2 shows the Visual Basic development environment, the environment with which you will soon be intimately familiar. From this development environment you will create Windows programs.

01fig02.gif

Figure 1.2 VB's screen might look confusing at first.

Although the screen can look confusing, you can fully customize the Visual Basic screen to suit your needs and preferences. Over time, you'll adjust the screen's window sizes and hide and display certain windows so that your Visual Basic screen's start-up state might differ tremendously from that of Figure 1.2.

A dockable window is one that you can resize and move to the sides of the screen and connect to other windows.

The section "Mastering the Development Environment," later in this hour, explains the parts of the development environment and how to maneuver within it.

Share ThisShare This

Informit Network