VERSION 5.00
Begin VB.Form frmbrowsepath 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Select Path"
   ClientHeight    =   4830
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   3120
   Icon            =   "frmbrowsepath.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4830
   ScaleWidth      =   3120
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command2 
      Caption         =   "Cancel"
      Height          =   720
      Left            =   2115
      Style           =   1  'Graphical
      TabIndex        =   3
      Top             =   3975
      Width           =   885
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Select"
      Height          =   720
      Left            =   1095
      Style           =   1  'Graphical
      TabIndex        =   2
      Top             =   3975
      Width           =   885
   End
   Begin VB.DirListBox Dir1 
      Height          =   3465
      Left            =   15
      TabIndex        =   1
      Top             =   405
      Width           =   3000
   End
   Begin VB.DriveListBox Drive1 
      Height          =   315
      Left            =   30
      TabIndex        =   0
      Top             =   45
      Width           =   2985
   End
End
Attribute VB_Name = "frmbrowsepath"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
On Error GoTo errortrap
Dim varpath
varpath = Dir1.Path

Exit Sub
errortrap:
em = MsgBox("The Following Error Has Occured: " & Err.Description & " Please Contact Circular Box Software With This Error Message At http://www.circularboxsoftware.com ", vbOKOnly + vbCritical, "Error Number: " & Err.Number)
On Error GoTo 0

End Sub

Private Sub Command2_Click()
On Error GoTo errortrap


Unload Me

Exit Sub
errortrap:
em = MsgBox("The Following Error Has Occured: " & Err.Description & " Please Contact Circular Box Software With This Error Message At http://www.circularboxsoftware.com ", vbOKOnly + vbCritical, "Error Number: " & Err.Number)
On Error GoTo 0

End Sub

Private Sub Drive1_Change()
On Error GoTo errortrap

Dir1.Path = Drive1.Drive
Exit Sub
errortrap:
em = MsgBox("The Following Error Has Occured: " & Err.Description & " Please Contact Circular Box Software With This Error Message At http://www.circularboxsoftware.com ", vbOKOnly + vbCritical, "Error Number: " & Err.Number)
On Error GoTo 0
End Sub

Private Sub Form_Load()
On Error GoTo errortrap

Top = (frmNewCo.Top + (frmNewCo.Height / 2) - (Me.Height / 2))
Left = (frmNewCo.Left + (frmNewCo.Width / 2) - (Me.Width / 2))

Dir1.Path = Drive1.Drive
Exit Sub
errortrap:
em = MsgBox("The Following Error Has Occured: " & Err.Description & " Please Contact Circular Box Software With This Error Message At http://www.circularboxsoftware.com ", vbOKOnly + vbCritical, "Error Number: " & Err.Number)
On Error GoTo 0
End Sub
