19.12.2012 Views

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

410 <strong>Computer</strong> <strong>Programming</strong> <strong>Concepts</strong> <strong>and</strong> <strong>Visual</strong> <strong>Basic</strong><br />

13. The next window asks you to choose between Typical <strong>and</strong> Custom installations.<br />

We recommend that you click on the Typical icon.<br />

14. About one minute is required for the VB6.0 Working Model to be installed. On<br />

the next screen to appear, click on Restart Windows.<br />

15. The next window to appear gives you the opportunity to register your copy of<br />

VB6.0 over the web. Uncheck the Register Now box <strong>and</strong> click on Finish.<br />

B. Invoke <strong>Visual</strong> <strong>Basic</strong> after installation.<br />

1. Click the Start button.<br />

2. Point to Programs.<br />

3. Point to Microsoft <strong>Visual</strong> <strong>Basic</strong> 6.0. (A new panel will open on the right.)<br />

4. In the new panel, click on Microsoft <strong>Visual</strong> <strong>Basic</strong> 6.0.<br />

C. Exit <strong>Visual</strong> <strong>Basic</strong>.<br />

1. Press the Esc key.<br />

2. Press Alt/F/X.<br />

3. If an unsaved program is present, <strong>Visual</strong> <strong>Basic</strong> will prompt you about saving it.<br />

Note: In many situations, Step 1 is not needed.<br />

HOW TO: MANAGE PROGRAMS<br />

A. Run a program from <strong>Visual</strong> <strong>Basic</strong>.<br />

1. Click on the Start icon (right arrowhead) in the Toolbar.<br />

or<br />

1. Press F5.<br />

or<br />

1. Press Alt/R <strong>and</strong> make a selection from the Run menu.<br />

B. Save the current program on a disk.<br />

1. Press Alt/F/V [or click the Save Project icon (shows a diskette) on the Toolbar].<br />

2. Fill in the requested information. Do not give an extension as part of the project<br />

name or the file name. Two files will be created [\m]one with extension<br />

.VBP <strong>and</strong> the other with extension .FRM. The .VBP file holds a list of files<br />

related to the project. The .FRM file actually holds the program.<br />

Note: After a program has been saved once, updated versions can be saved with the<br />

same filenames by pressing Alt/F/V. Alt/F/E <strong>and</strong> Alt/F/A are used to save the program<br />

with new file names.<br />

C. Begin a new program.<br />

1. Press Alt/F/N.<br />

2. If an unsaved program is present, <strong>Visual</strong> <strong>Basic</strong> will prompt you about saving it.<br />

D. Open a program stored on a disk.<br />

1. Press Alt/F/O [or click the Open Project icon (shows an open folder) on the<br />

Toolbar].<br />

2. Click on one of the two tabs, Existing or Recent.<br />

3. If you selected Existing, choose a folder for the “Look in:” box, type a filename<br />

into the “File name:”box, <strong>and</strong> press the Enter key. Alternatively, double-click on<br />

one of the filenames displayed in the large box in the middle of the dialog box.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!