VERSION 4.00
Begin VB.Form RegInfoDlg 
   Appearance      =   0  'Flat
   BackColor       =   &H80000005&
   Caption         =   "Registration Information Dialog Box"
   ClientHeight    =   2985
   ClientLeft      =   2850
   ClientTop       =   1950
   ClientWidth     =   6960
   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          =   3390
   Left            =   2790
   LinkTopic       =   "Form2"
   ScaleHeight     =   2985
   ScaleWidth      =   6960
   Top             =   1605
   Width           =   7080
   Begin VB.CommandButton cmdExit 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "E&xit Setup"
      Height          =   395
      Left            =   4320
      TabIndex        =   8
      Top             =   2400
      Width           =   1500
   End
   Begin VB.CommandButton cmdContinue 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "&Continue"
      Default         =   -1  'True
      Height          =   395
      Left            =   1440
      TabIndex        =   7
      Top             =   2400
      Width           =   1500
   End
   Begin VB.TextBox txtLocation 
      Appearance      =   0  'Flat
      Height          =   285
      Left            =   2200
      TabIndex        =   6
      Text            =   "Timbuktu, AK"
      Top             =   1800
      Width           =   4200
   End
   Begin VB.TextBox txtCompany 
      Appearance      =   0  'Flat
      Height          =   285
      Left            =   2200
      TabIndex        =   5
      Text            =   "XYZ  Company, Inc."
      Top             =   1200
      Width           =   4200
   End
   Begin VB.TextBox txtName 
      Appearance      =   0  'Flat
      Height          =   285
      Left            =   2200
      TabIndex        =   4
      Text            =   "John Doe"
      Top             =   600
      Width           =   4200
   End
   Begin VB.Label lblLocation 
      Alignment       =   1  'Right Justify
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "Location:   "
      ForeColor       =   &H80000008&
      Height          =   275
      Left            =   720
      TabIndex        =   3
      Top             =   1920
      Width           =   1215
   End
   Begin VB.Label lblCompany 
      Alignment       =   1  'Right Justify
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "Company:   "
      ForeColor       =   &H80000008&
      Height          =   275
      Left            =   720
      TabIndex        =   2
      Top             =   1320
      Width           =   1215
   End
   Begin VB.Label lblName 
      Alignment       =   1  'Right Justify
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "Name:   "
      ForeColor       =   &H80000008&
      Height          =   275
      Left            =   720
      TabIndex        =   1
      Top             =   720
      Width           =   1215
   End
   Begin VB.Label lblInstruct 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   $"MOVE.frx":0000
      ForeColor       =   &H80000008&
      Height          =   375
      Left            =   360
      TabIndex        =   0
      Top             =   120
      Width           =   6135
   End
End
Attribute VB_Name = "RegInfoDlg"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Private Sub cmdContinue_Click()

    If Len(txtName.Text) = 0 Then
        
        MsgBox "Invalid registration name entered.", 48, RegInfoDlg.Caption
        txtName.SetFocus
        txtName.SelStart = 0
        txtName.SelLength = Len(txtName.Text)
    
    ElseIf Len(txtCompany.Text) = 0 Then
        
        MsgBox "Invalid registration company entered.", 48, RegInfoDlg.Caption
        txtCompany.SetFocus
        txtCompany.SelStart = 0
        txtCompany.SelLength = Len(txtCompany.Text)
    
    ElseIf Len(txtLocation.Text) = 0 Then
        
        MsgBox "Invalid registration location entered.", 48, RegInfoDlg.Caption
        txtLocation.SetFocus
        txtLocation.SelStart = 0
        txtLocation.SelLength = Len(txtLocation.Text)
    
    Else
        
        RegInfoDlg.Tag = "0"
        RegInfoDlg.Hide
    
    End If

End Sub

Private Sub cmdExit_Click()

    RegInfoDlg.Tag = "1"
    RegInfoDlg.Hide

End Sub

Private Sub Form_Load()

    'Clear the form's initial data contents
    RegInfoDlg.txtName = ""
    RegInfoDlg.txtCompany = ""
    RegInfoDlg.txtLocation = ""
    RegInfoDlg.Tag = "0"

End Sub

