VERSION 4.00
Begin VB.Form ResetInfoDlg 
   Appearance      =   0  'Flat
   BackColor       =   &H80000005&
   Caption         =   "Reset Information Dialog Box"
   ClientHeight    =   2415
   ClientLeft      =   3285
   ClientTop       =   2385
   ClientWidth     =   5895
   BeginProperty Font 
      name            =   "MS Sans Serif"
      charset         =   1
      weight          =   700
      size            =   8.25
      underline       =   0   'False
      italic          =   0   'False
      strikethrough   =   0   'False
   EndProperty
   ForeColor       =   &H80000008&
   Height          =   2820
   Left            =   3225
   LinkTopic       =   "Form2"
   ScaleHeight     =   2415
   ScaleWidth      =   5895
   Top             =   2040
   Width           =   6015
   Begin VB.CommandButton cmdCancel 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "&Cancel"
      Height          =   375
      Left            =   3840
      TabIndex        =   7
      Top             =   1800
      Width           =   1215
   End
   Begin VB.CommandButton cmdOk 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "&Ok"
      Default         =   -1  'True
      Height          =   375
      Left            =   960
      TabIndex        =   6
      Top             =   1800
      Width           =   1215
   End
   Begin VB.TextBox txtResetCode 
      Alignment       =   2  'Center
      Appearance      =   0  'Flat
      Height          =   285
      Left            =   2100
      TabIndex        =   5
      Text            =   "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
      Top             =   1200
      Width           =   3435
   End
   Begin VB.Label lblRC 
      Alignment       =   1  'Right Justify
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "Reset Code:   "
      ForeColor       =   &H80000008&
      Height          =   195
      Left            =   360
      TabIndex        =   4
      Top             =   1200
      Width           =   1560
   End
   Begin VB.Label lblDate 
      Alignment       =   2  'Center
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "XX/XX/XX"
      ForeColor       =   &H80000008&
      Height          =   195
      Left            =   2100
      TabIndex        =   3
      Top             =   600
      Width           =   1215
   End
   Begin VB.Label lblD 
      Alignment       =   1  'Right Justify
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "Date:   "
      ForeColor       =   &H80000008&
      Height          =   195
      Left            =   360
      TabIndex        =   2
      Top             =   600
      Width           =   1560
   End
   Begin VB.Label lblSerialNumber 
      Alignment       =   2  'Center
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "XXXXX-X"
      ForeColor       =   &H80000008&
      Height          =   195
      Left            =   2100
      TabIndex        =   1
      Top             =   240
      Width           =   1215
   End
   Begin VB.Label lblSN 
      Alignment       =   1  'Right Justify
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "Serial Number:   "
      ForeColor       =   &H80000008&
      Height          =   195
      Left            =   360
      TabIndex        =   0
      Top             =   240
      Width           =   1560
   End
End
Attribute VB_Name = "ResetInfoDlg"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Private Sub cmdCancel_Click()
    
    ResetInfoDlg.Tag = "1"
    ResetInfoDlg.Hide

End Sub

Private 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

Private Sub Form_Load()

    ResetInfoDlg.Tag = "0"

End Sub

