www.pudn.com > SkyMediaSongTool.rar > Form6.frm


VERSION 5.00 
Begin VB.Form Form6  
   BorderStyle     =   1  'Fixed Single 
   Caption         =   "选择文件夹" 
   ClientHeight    =   3720 
   ClientLeft      =   45 
   ClientTop       =   435 
   ClientWidth     =   4350 
   Icon            =   "Form6.frx":0000 
   LinkTopic       =   "Form6" 
   MaxButton       =   0   'False 
   MinButton       =   0   'False 
   ScaleHeight     =   3720 
   ScaleWidth      =   4350 
   ShowInTaskbar   =   0   'False 
   StartUpPosition =   1  '所有者中心 
   Begin VB.CommandButton Command2  
      Caption         =   "取消" 
      Height          =   375 
      Left            =   3000 
      TabIndex        =   3 
      Top             =   3240 
      Width           =   1215 
   End 
   Begin VB.CommandButton Command1  
      Caption         =   "确定" 
      Default         =   -1  'True 
      Height          =   375 
      Left            =   1680 
      TabIndex        =   2 
      Top             =   3240 
      Width           =   1215 
   End 
   Begin VB.DirListBox Dir1  
      Height          =   2610 
      Left            =   120 
      TabIndex        =   1 
      Top             =   480 
      Width           =   4095 
   End 
   Begin VB.DriveListBox Drive1  
      Height          =   300 
      Left            =   120 
      TabIndex        =   0 
      Top             =   120 
      Width           =   4095 
   End 
End 
Attribute VB_Name = "Form6" 
Attribute VB_GlobalNameSpace = False 
Attribute VB_Creatable = False 
Attribute VB_PredeclaredId = True 
Attribute VB_Exposed = False 
Private Sub Command1_Click() 
    If Right(Dir1.Path, 1) = "\" Then 
        Form1.Text6.Text = Dir1.Path 
    Else 
        Form1.Text6.Text = Dir1.Path & "\" 
    End If 
    Unload Form6 
End Sub 
 
Private Sub Command2_Click() 
    Unload Form6 
End Sub 
 
Private Sub Drive1_Change() 
    On Error GoTo errhandle 
    Dir1.Path = Drive1.Drive 
    Exit Sub 
errhandle: 
    MsgBox "驱动器未准备好!", vbOKOnly + vbCritical, "错误" 
    Exit Sub 
     
End Sub