VERSION 4.00
Begin VB.Form frmMain 
   Appearance      =   0  'Flat
   BackColor       =   &H80000005&
   Caption         =   "EVERLOCK v3.21c Test Reset Application"
   ClientHeight    =   1095
   ClientLeft      =   1650
   ClientTop       =   4035
   ClientWidth     =   5055
   BeginProperty Font 
      name            =   "MS Sans Serif"
      charset         =   0
      weight          =   700
      size            =   8.25
      underline       =   0   'False
      italic          =   0   'False
      strikethrough   =   0   'False
   EndProperty
   ForeColor       =   &H80000008&
   Height          =   1500
   Left            =   1590
   LinkTopic       =   "Form1"
   ScaleHeight     =   1095
   ScaleWidth      =   5055
   Top             =   3690
   Width           =   5175
   Begin VB.CommandButton btnExit 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "E&xit"
      Height          =   375
      Left            =   3360
      TabIndex        =   3
      Top             =   600
      Width           =   975
   End
   Begin VB.CommandButton btnExecute 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "&Do It!"
      Default         =   -1  'True
      Height          =   375
      Left            =   720
      TabIndex        =   2
      Top             =   600
      Width           =   975
   End
   Begin VB.TextBox txtAuthDir 
      Appearance      =   0  'Flat
      Height          =   285
      Left            =   2280
      TabIndex        =   1
      Text            =   "A:\"
      Top             =   120
      Width           =   2655
   End
   Begin VB.Label lblAuthDir 
      Alignment       =   1  'Right Justify
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "Authorization Directory:"
      ForeColor       =   &H80000008&
      Height          =   255
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   2055
   End
End
Attribute VB_Name = "frmMain"
Attribute VB_Creatable = False
Attribute VB_Exposed = False

Private Sub btnExecute_Click()

    ' execute the reset code function
    Text$ = frmMain.Caption
    ret = ResetAuth(frmMain.txtAuthDir.Text, Text$)

    ' display the results of the reset
    If ret = 0 Then
        MsgBox "Reset Successfull!", 64, frmMain.Caption
    Else
        MsgBox "Reset Failed!", 16, frmMain.Caption
    End If

End Sub

Private Sub btnExit_Click()

    ' just end this sample program
    End
    
End Sub

