home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Browse
- BackColor = &H00C0C0C0&
- BorderStyle = 3 'Fixed Double
- ClientHeight = 2940
- ClientLeft = 3660
- ClientTop = 2385
- ClientWidth = 2010
- ControlBox = 0 'False
- Height = 3345
- Left = 3600
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2940
- ScaleWidth = 2010
- Top = 2040
- Width = 2130
- Begin CommandButton Command1
- Caption = "&Abort"
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 330
- Left = 1005
- TabIndex = 2
- Top = 2610
- Width = 1005
- End
- Begin CommandButton Command2
- Caption = "&Change"
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 330
- Left = 0
- TabIndex = 3
- Top = 2610
- Width = 1005
- End
- Begin DirListBox Dir1
- BackColor = &H00808080&
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00FFFFFF&
- Height = 2295
- Left = 0
- TabIndex = 1
- Top = 315
- Width = 2010
- End
- Begin DriveListBox Drive1
- BackColor = &H00808080&
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00FFFFFF&
- Height = 315
- Left = 0
- TabIndex = 0
- Top = 0
- Width = 2010
- End
- DefInt A-Z
- Sub Command1_Click ()
- CNC = 1
- Browse.Hide
- End Sub
- Sub Command2_Click ()
- If Left$(Dir1.Path, 1) <> "\" Then FN$ = Dir1.Path + "\" Else FN$ = Dir1.Path
- Browse.Hide
- End Sub
- Sub Drive1_Change ()
- On Error GoTo Er:
- Dir1.Path = Drive1.Drive
- GoTo EANAL:
- MsgBox "Drive Unavailable", 48, "Error"
- Drive1.Drive = Dir1.Path
- Resume Next
- EANAL:
- End Sub
- Sub Form_Load ()
- ' Center form on screen
- Browse.Left = (Screen.Width / 2) - (Browse.Width / 2)
- Browse.Top = (Screen.Height / 2) - (Browse.Height / 2)
- End Sub
-