VERSION 2.00
Begin Form ResetInfoDlg 
   Caption         =   "Reset Information Dialog Box"
   ClientHeight    =   2415
   ClientLeft      =   3795
   ClientTop       =   2550
   ClientWidth     =   5550
   Height          =   2820
   Left            =   3735
   LinkTopic       =   "Form2"
   ScaleHeight     =   2415
   ScaleWidth      =   5550
   Top             =   2205
   Width           =   5670
   Begin CommandButton cmdCancel 
      Caption         =   "&Cancel"
      Height          =   375
      Left            =   3600
      TabIndex        =   7
      Top             =   1800
      Width           =   1215
   End
   Begin CommandButton cmdOk 
      Caption         =   "&Ok"
      Default         =   -1  'True
      Height          =   375
      Left            =   720
      TabIndex        =   6
      Top             =   1800
      Width           =   1215
   End
   Begin TextBox txtResetCode 
      Alignment       =   2  'Center
      Height          =   285
      Left            =   1740
      TabIndex        =   5
      Text            =   "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
      Top             =   1200
      Width           =   3435
   End
   Begin Label lblRC 
      Alignment       =   1  'Right Justify
      Caption         =   "Reset Code:   "
      Height          =   195
      Left            =   120
      TabIndex        =   4
      Top             =   1200
      Width           =   1560
   End
   Begin Label lblDate 
      Alignment       =   2  'Center
      Caption         =   "XX/XX/XX"
      Height          =   195
      Left            =   1740
      TabIndex        =   3
      Top             =   600
      Width           =   1215
   End
   Begin Label lblD 
      Alignment       =   1  'Right Justify
      Caption         =   "Date:   "
      Height          =   195
      Left            =   120
      TabIndex        =   2
      Top             =   600
      Width           =   1560
   End
   Begin Label lblSerialNumber 
      Alignment       =   2  'Center
      Caption         =   "XXXXX-X"
      Height          =   195
      Left            =   1740
      TabIndex        =   1
      Top             =   240
      Width           =   1215
   End
   Begin Label lblSN 
      Alignment       =   1  'Right Justify
      Caption         =   "Serial Number:   "
      Height          =   195
      Left            =   120
      TabIndex        =   0
      Top             =   240
      Width           =   1560
   End
End

Sub cmdCancel_Click ()
    
    ResetInfoDlg.Tag = "1"
    ResetInfoDlg.Hide

End Sub

Sub cmdOk_Click ()

    If Len(txtResetCode.Text) = 0 Then
        MsgBox "Invalid reset code entered.", 48, ResetInfoDlg.Caption
        txtResetCode.SetFocus
        txtResetCode.SelStart = 0
        txtResetCode.SelLength = Len(txtResetCode.Text)
    Else
        ResetInfoDlg.Tag = "0"
        ResetInfoDlg.Hide
    End If

End Sub

Sub Form_Load ()

    ResetInfoDlg.Tag = "0"

End Sub

