www.pudn.com > 一个完整的数据库管理程序.zip > Frmwjbf.frm


VERSION 5.00 
Begin VB.Form Frmwjbf  
   Caption         =   "文件备份" 
   ClientHeight    =   4155 
   ClientLeft      =   60 
   ClientTop       =   345 
   ClientWidth     =   7215 
   LinkTopic       =   "Form1" 
   ScaleHeight     =   4155 
   ScaleWidth      =   7215 
   ShowInTaskbar   =   0   'False 
   StartUpPosition =   2  '屏幕中心 
   Begin VB.CommandButton Command1  
      Caption         =   "确定(&E)" 
      Default         =   -1  'True 
      BeginProperty Font  
         Name            =   "宋体" 
         Size            =   10.5 
         Charset         =   134 
         Weight          =   400 
         Underline       =   0   'False 
         Italic          =   0   'False 
         Strikethrough   =   0   'False 
      EndProperty 
      Height          =   375 
      Left            =   5940 
      TabIndex        =   7 
      Top             =   210 
      Width           =   1185 
   End 
   Begin VB.Frame Frame1  
      Caption         =   "备份路径选择:" 
      Height          =   3585 
      Left            =   90 
      TabIndex        =   2 
      Top             =   450 
      Width           =   5715 
      Begin VB.FileListBox File1  
         Height          =   2970 
         Left            =   120 
         TabIndex        =   8 
         Top             =   450 
         Width           =   2265 
      End 
      Begin VB.DirListBox Dir1  
         Height          =   2610 
         Left            =   2460 
         TabIndex        =   6 
         Top             =   450 
         Width           =   3105 
      End 
      Begin VB.DriveListBox Drive1  
         BeginProperty Font  
            Name            =   "宋体" 
            Size            =   10.5 
            Charset         =   134 
            Weight          =   400 
            Underline       =   0   'False 
            Italic          =   0   'False 
            Strikethrough   =   0   'False 
         EndProperty 
         Height          =   330 
         Left            =   3420 
         TabIndex        =   4 
         Top             =   3120 
         Width           =   1905 
      End 
      Begin VB.Label Label4  
         Caption         =   "文件:" 
         BeginProperty Font  
            Name            =   "宋体" 
            Size            =   10.5 
            Charset         =   134 
            Weight          =   400 
            Underline       =   0   'False 
            Italic          =   0   'False 
            Strikethrough   =   0   'False 
         EndProperty 
         Height          =   255 
         Left            =   180 
         TabIndex        =   9 
         Top             =   210 
         Width           =   885 
      End 
      Begin VB.Label Label3  
         Caption         =   "目录:" 
         BeginProperty Font  
            Name            =   "宋体" 
            Size            =   10.5 
            Charset         =   134 
            Weight          =   400 
            Underline       =   0   'False 
            Italic          =   0   'False 
            Strikethrough   =   0   'False 
         EndProperty 
         Height          =   285 
         Left            =   2520 
         TabIndex        =   5 
         Top             =   180 
         Width           =   1125 
      End 
      Begin VB.Label Label2  
         Caption         =   "驱动器:" 
         BeginProperty Font  
            Name            =   "宋体" 
            Size            =   10.5 
            Charset         =   134 
            Weight          =   400 
            Underline       =   0   'False 
            Italic          =   0   'False 
            Strikethrough   =   0   'False 
         EndProperty 
         Height          =   255 
         Left            =   2520 
         TabIndex        =   3 
         Top             =   3180 
         Width           =   885 
      End 
   End 
   Begin VB.TextBox Text1  
      Enabled         =   0   'False 
      BeginProperty Font  
         Name            =   "宋体" 
         Size            =   10.5 
         Charset         =   134 
         Weight          =   400 
         Underline       =   0   'False 
         Italic          =   0   'False 
         Strikethrough   =   0   'False 
      EndProperty 
      Height          =   315 
      Left            =   1230 
      TabIndex        =   1 
      Top             =   90 
      Width           =   4575 
   End 
   Begin VB.Label Label1  
      Caption         =   "备份路径:" 
      BeginProperty Font  
         Name            =   "宋体" 
         Size            =   10.5 
         Charset         =   134 
         Weight          =   400 
         Underline       =   0   'False 
         Italic          =   0   'False 
         Strikethrough   =   0   'False 
      EndProperty 
      Height          =   255 
      Left            =   90 
      TabIndex        =   0 
      Top             =   120 
      Width           =   1065 
   End 
End 
Attribute VB_Name = "Frmwjbf" 
Attribute VB_GlobalNameSpace = False 
Attribute VB_Creatable = False 
Attribute VB_PredeclaredId = True 
Attribute VB_Exposed = False 
Option Explicit 
Private Sub Command1_Click() 
     hxffhz = Trim(Me.Text1.Text) 
     Unload Me 
 End Sub 
 
Private Sub Dir1_Change() 
    Me.Text1.Text = Dir1.Path 
    Me.File1.Path = Dir1.Path 
     
End Sub 
 
Private Sub Drive1_Change() 
    Dir1.Path = Drive1.Drive 
End Sub