home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form PathDlg
- BackColor = &H00C0C0C0&
- BorderStyle = 1 'Fixed Single
- Caption = "PathDlg"
- ClientHeight = 2865
- ClientLeft = 3705
- ClientTop = 6165
- ClientWidth = 6825
- ControlBox = 0 'False
- Height = 3270
- Left = 3645
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2865
- ScaleWidth = 6825
- Top = 5820
- Width = 6945
- Begin PictureBox diskpict
- AutoSize = -1 'True
- BackColor = &H00C0C0C0&
- BorderStyle = 0 'None
- Height = 480
- Left = 270
- Picture = PATH.FRX:0000
- ScaleHeight = 480
- ScaleWidth = 480
- TabIndex = 9
- TabStop = 0 'False
- Top = 180
- Visible = 0 'False
- Width = 480
- End
- Begin PictureBox hddpict
- AutoSize = -1 'True
- BorderStyle = 0 'None
- Height = 480
- Left = 270
- Picture = PATH.FRX:0302
- ScaleHeight = 480
- ScaleWidth = 480
- TabIndex = 6
- TabStop = 0 'False
- Top = 180
- Visible = 0 'False
- Width = 480
- End
- Begin TextBox Text1
- Height = 285
- Left = 1350
- TabIndex = 0
- Top = 1530
- Width = 4185
- End
- Begin CommandButton Command1
- Caption = "&Weiter"
- Default = -1 'True
- Height = 375
- Left = 1665
- TabIndex = 1
- Top = 2115
- Width = 1710
- End
- Begin CommandButton Command2
- Caption = "Setup &abbrechen"
- Height = 375
- Left = 3510
- TabIndex = 2
- Top = 2115
- Width = 1710
- End
- Begin Label Label1
- BackColor = &H00C0C0C0&
- Height = 975
- Left = 1395
- TabIndex = 3
- Top = 225
- Width = 5370
- End
- Begin Label Label2
- BackColor = &H00C0C0C0&
- Caption = "Installieren in:"
- ForeColor = &H00000000&
- Height = 255
- Left = 1395
- TabIndex = 4
- Top = 1260
- Width = 1575
- End
- Begin Label inDrive
- Caption = "inDrive"
- Height = 255
- Left = 135
- TabIndex = 7
- Top = 855
- Visible = 0 'False
- Width = 735
- End
- Begin Label outButton
- Caption = "outButton"
- Height = 255
- Left = 120
- TabIndex = 5
- Top = 1200
- Visible = 0 'False
- Width = 975
- End
- Begin Label outPath
- Caption = "outPath"
- Height = 255
- Left = 120
- TabIndex = 8
- Top = 1530
- Visible = 0 'False
- Width = 855
- End
- Dim DestPath$
- Sub Command1_Click ()
- DestPath$ = text1.Text
- inDrive.Tag = Left$(DestPath$, 2)
- '-------------------------------------------
- ' The IsValidPath function not only returns
- ' True/False as to whether or not it is a valid
- ' path, but also reformats the path variable
- ' into the format, "X:\dir\dir\dir\"
- '-------------------------------------------
- If IsValidPath(DestPath$, (inDrive.Tag)) Then
- OutPath.Tag = DestPath$
- OutButton.Tag = "continue"
- PathDlg.Hide
- Else
- MsgBox "Fehlerhafte oder fehlende Pfadangabe.", 48, PathDlg.Caption
- text1.SetFocus
- text1.SelStart = 0
- text1.SelLength = Len(text1.Text)
- End If
- End Sub
- Sub Command2_Click ()
- OutButton.Tag = "exit"
- PathDlg.Hide
- DoEvents
- End Sub
- Sub Form_Activate ()
- DoEvents
- End Sub
-