Professional Documents
Culture Documents
Oo Pee Ehhhhh
Oo Pee Ehhhhh
0)
FORM
Option Explicit
SAMPLE OUTPUT
STOPWATCH APPLICATION (VISUAL BASIC 6.0)
FORM
PROPERTIES Label 2
Caption = End Time
Form 1 = frm_Stopwatch
Border Style = 1-Fixed Single Label 3
Caption = Stopwatch Application Caption = Elapsed Time
Option Explicit
Dim StartTimeAs Variant
Dim EndTimeAs Variant
Dim ElapsedTimeAs Variant
SAMPLE OUTPUT
SAVINGS ACCOUNT (VISUAL BASIC 6.0)
FORM
Option Explicit
Dim Deposit As Single
Dim Interest As Single
Dim Months As Single
Dim Final As Single
SAMPLE OUTPUT
SAVINGS ACCOUNT: KEY TRAPPING AND DECISIONS (VISUAL BASIC 6.0)
Command 3 = cmd_Clear
Caption = Clear &Boxe
CODE
Option Explicit
Dim Deposit As Single
Dim Interest As Single
Dim Months As Single
Dim Final As Single
ConstvbKeyDecPt = 46
End Sub
FORM
PROPERTIES
Label 2
Form 1= frm_Stats Caption = Standard Deviation
Caption = Mean and Standard Deviation Label 3 = lbl_Mean
Command 1 = cmd_Exit Alignment = 2-Center
Caption = E&xit Back Color = &H00FFFFFF& (White)
Command 2 = cmd_Accept Border Style = 1-Fixed Single
Caption = &Accept Number Font Name = MS Sans Serif
Command 3 = cmd_Compute Font Size = 12
Caption = &Compute Label 4
Command 4 = cmd_New Caption = Mean
Caption = &New Sequence Label 5 = lbl_Number
Text Box 1 = txt_Input Alignment = 2-Center
Font Name = MS Sans Serif Back Color = &H00FFFFFF& (White)
Font Size = 12 Font Name = MS Sans Serif
Label 1 = lbl_StdDev Font Size = 12
Alignment = 2-Center Label 6
Back Color = &H00FFFFFF& (White) Caption = Enter Number
Border Style = 1-Fixed Single
Font Name = MS Sans Serif Label 7
Font Size = 12 Caption = Number of Values
CODE
Option Explicit
Dim NumValuesAs Integer
Dim SumXAs Single
Dim SumX2 As Single
ConstvbKeyMinus = 45
ConstvbKeyDecPt = 46
SAMPLE OUTPUT
FLASH CARD ADDDITION (VISUAL BASIC 6.0)
FORM
Option Explicit
Dim Sum As Integer
Dim NumProbAs Integer, NumRight As Integer
SAMPLE OUTPUT
LOTTO LUCKY PICK: LOTTO NUMBER GENERATOR (VISUAL BASIC 6.0)
FORM
SAMPLE OUTPUT
PROPERTIES Font Size = 12
Font Style = Bold
Form 1 = frm_Lotto
Back Color = &H00E0E0E0& Label 3 = disp_2
Border Style = 1-Fixed Single Border Style = 1-Fixed Single
Caption = Lotto Lucky Pick Caption = [Blank]
Font Name = Trebuchet MS
Label 1 Font Size = 12
Alignment = 2-Center Font Style = Bold
Back Style = 0-Transparent
Caption = LOTTO LUCKY PICK Label 4 = disp_3
Font Name = Trebuchet MS Border Style = 1-Fixed Single
Font Size = 28 Caption = [Blank]
Font Style = Bold Italic Font Name = Trebuchet MS
Font Size = 12
Command 1 = app_642 Font Style = Bold
Caption = 6/42
Font Name = Trebuchet MS
Font Size = 12
Label 5 = disp_4
Command 2 = app_649 Border Style = 1-Fixed Single
Caption = 6/49 Caption = [Blank]
Font Name = Trebuchet MS Font Name = Trebuchet MS
Font Size = 12 Font Size = 12
Font Style = Bold
Command 3 = app_655
Caption = 6/55 Label 6 = disp_5
Font Name = Trebuchet MS Border Style = 1-Fixed Single
Font Size = 12 Caption = [Blank]
Font Name = Trebuchet MS
Command 4 = app_658 Font Size = 12
Caption = 6/58 Font Style = Bold
Font Name = Trebuchet MS
Font Size = 12 Label 7 = disp_6
Border Style = 1-Fixed Single
Label 2 = disp_1 Caption = [Blank]
Border Style = 1-Fixed Single Font Name = Trebuchet MS
Caption = [Blank] Font Size = 12
Font Name = Trebuchet MS Font Style = Bold
CODE
FORM
PROPERTIES
Form 1 = frm_Password
Border Style = 1-Fixed Single
Caption = Password Validation
Label 1
Alignment = 2-Center
Caption = Please Enter Your Password
Font Name = Trebuchet MS
Font Size = 16
Font Bold = True
Text 1 = txt_Password
Alignment = 0-Left Justify
Border Style = 1-Fixed Single
Font Name = Trebuchet MS
Font Size = 14
Tag = microsoft123
Text = [Blank]
Command 1 = cmd_Validate
Caption = &Validate
Command 2 = cmdExit
Caption = E&xit
CODE
Const TRYMAX = 3
FORM
Option Explicit
Dim PizzaSizeAs String
Dim PizzaCrustAs String
Dim PizzaWhereAs String
FORM
PROPERTIES
Command 1 = cmd_Assign
Form 1 = frmFlight Caption = &Assign
Border Style = 1-Fixed Single
Caption = Flight Planner Command 2 = cmd_Exit
List 1 = lst_Cities Caption = &Assign
Sorted = True
Label 1
Caption = Destination City
Label 2
Caption = Seat Location
Label 3
Caption = Meal Preference
CODE
FORM
Option Explicit
Dim Activity As String
End Sub
CEIT 03 – 201A
TF 10:30am – 01:30pm
ITC110
Group 3
Furia, Christian B.