Assignment #2 5 points

CISB 119

Objectives: This assignment provides you with an opportunity to create a simple Visual Basic application containing commonly used controls. It also gives you the experience of saving, printing, setting properties, writing event procedures, and compiling your programs.

 

Program: You are to create a Visual Basic project consisting of a single form that utilizes the following controls:

3 Labels

a) Caption: The Business Careers

FontSize: 24

AutoSize: True

b) Caption: Computer Lab

FontSize: 24

AutoSize: True

c) Name: lblGreeting

ForeColor: Red

FontSize: 24

AutoSize: True

2 Command Buttons

a) Name: cmdClickHere

Caption: Click Here

FontSize: 18

b) Name: cmdExit

Caption: Exit

FontSize: 18

1 Image

a) A:\LCCLOGO.BMP

Stretch: True

Form

a) Caption: Assignment #1, CISB 119

Event Procedures:

a) cmdClickHere_Click: lblGreeting.Caption="Welcomes You!"

b) cmdExit_Click: Unload Me

 

 

The LCCLOGO.BMP is available on the network in the X:\Courses\Cisb119\Lab_Disk\Ver5 directory. You should copy it to the root directory of your floppy disk before attempting to do the assignment.

You may run the completed project by running the .EXE version of the program located on the LCC network in: X:\Courses\Cisb119\Solutions\Ver5 directory. It can be run on any machine with Windows 95 installed on it.

 

Turn In: Print out of Form

Print out of Code

Print out of Form Text

Extra Challenge:

Try using the ActiveX scroller control to display the Welcomes You!" message

Hosted by www.Geocities.ws

1