VERSION 5.00 Begin VB.Form CreditInfo Caption = "CreditInfo" ClientHeight = 6795 ClientLeft = 2835 ClientTop = 1590 ClientWidth = 3630 LinkTopic = "Form1" LockControls = -1 'True PaletteMode = 1 'UseZOrder ScaleHeight = 6795 ScaleWidth = 3630 Begin VB.TextBox txtStatus BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Left = 600 TabIndex = 11 Text = "Pending" Top = 5520 Width = 2415 End Begin VB.ComboBox cmbBank Height = 315 ItemData = "CreditInfo.frx":000C Left = 600 List = "CreditInfo.frx":0025 TabIndex = 9 Top = 4440 Width = 2415 End Begin VB.CommandButton cmdCancel Caption = "Cancel" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 495 Left = 2160 TabIndex = 8 Top = 6240 Width = 1215 End Begin VB.CommandButton cmdValidate Caption = "Validate" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 495 Left = 240 TabIndex = 7 Top = 6240 Width = 1215 End Begin VB.TextBox txtCCNumber BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Left = 600 TabIndex = 3 Top = 1440 Width = 2415 End Begin VB.OptionButton optCCard Caption = "American Express" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 255 Index = 2 Left = 600 TabIndex = 2 Top = 3360 Width = 2415 End Begin VB.OptionButton optCCard Caption = "Mastercard" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 285 Index = 1 Left = 600 TabIndex = 1 Top = 3000 Width = 2295 End Begin VB.OptionButton optCCard Caption = "Visa" BeginProperty Font Name = "Arial" Size = 11.25 Charset = 0 Weight = 400 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 255 Index = 0 Left = 600 TabIndex = 0 Top = 2640 Width = 1455 End Begin VB.Line Line1 BorderColor = &H00FF0000& X1 = 240 X2 = 3360 Y1 = 600 Y2 = 600 End Begin VB.Line Line7 BorderColor = &H000000FF& X1 = 600 X2 = 3000 Y1 = 5400 Y2 = 5400 End Begin VB.Line Line5 BorderColor = &H000000FF& X1 = 600 X2 = 3000 Y1 = 4300 Y2 = 4300 End Begin VB.Line Line4 BorderColor = &H000000FF& X1 = 600 X2 = 3000 Y1 = 2520 Y2 = 2520 End Begin VB.Line Line2 BorderColor = &H000000FF& X1 = 600 X2 = 3000 Y1 = 1320 Y2 = 1320 End Begin VB.Label Label5 Alignment = 2 'Center Caption = "Status:" BeginProperty Font Name = "MS Sans Serif" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = -1 'True Strikethrough = 0 'False EndProperty Height = 255 Left = 600 TabIndex = 12 Top = 5040 Width = 2415 End Begin VB.Label Label4 Alignment = 2 'Center Caption = "Issuing Bank:" BeginProperty Font Name = "MS Sans Serif" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = -1 'True Strikethrough = 0 'False EndProperty Height = 300 Left = 600 TabIndex = 10 Top = 3960 Width = 2415 End Begin VB.Label Label3 Alignment = 2 'Center Caption = "Credit Card Type:" BeginProperty Font Name = "MS Sans Serif" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = -1 'True Strikethrough = 0 'False EndProperty Height = 255 Left = 600 TabIndex = 6 Top = 2160 Width = 2415 End Begin VB.Label Label2 Alignment = 2 'Center Caption = "Credit Card Validation" BeginProperty Font Name = "Arial" Size = 15 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 375 Left = 120 TabIndex = 5 Top = 120 Width = 3375 End Begin VB.Label Label1 Alignment = 2 'Center Caption = "Credit Card Numer:" BeginProperty Font Name = "MS Sans Serif" Size = 12 Charset = 0 Weight = 700 Underline = 0 'False Italic = -1 'True Strikethrough = 0 'False EndProperty Height = 255 Left = 360 TabIndex = 4 Top = 960 Width = 2895 End End Attribute VB_Name = "CreditInfo" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Private Sub cmdCancel_Click() optCCard(0).Value = True cmbBank.Text = "Advanta" txtCCNumber.Text = "" txtStatus.Text = "Pending" End Sub Private Sub cmdValidate_Click() If optCCard(0).Value = True Then txtStatus.Text = "Approved" Else txtStatus.Text = "Declined" End If End Sub Private Sub Form_Load() txtStatus.Locked = True optCCard(0).Value = True cmbBank.Text = "Advanta" End Sub