📄 path.frm
字号:
VERSION 5.00
Begin VB.Form path
Caption = "数据备份"
ClientHeight = 2880
ClientLeft = 60
ClientTop = 465
ClientWidth = 4710
LinkTopic = "Form3"
ScaleHeight = 2880
ScaleWidth = 4710
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command3
Caption = "取消"
Height = 435
Left = 2730
TabIndex = 5
Top = 1800
Width = 1035
End
Begin VB.CommandButton Command2
Caption = "确定"
Height = 435
Left = 960
TabIndex = 4
Top = 1800
Width = 1035
End
Begin VB.Frame Frame1
Caption = "数据备份"
Height = 2655
Left = 60
TabIndex = 0
Top = 60
Width = 4485
Begin VB.CommandButton Command1
Caption = "浏览..."
Height = 405
Left = 3540
TabIndex = 3
Top = 720
Width = 855
End
Begin VB.TextBox Text1
Height = 315
Left = 270
TabIndex = 2
Top = 750
Width = 3165
End
Begin VB.Label Label1
Caption = "备份到:"
Height = 465
Left = 330
TabIndex = 1
Top = 480
Width = 975
End
End
End
Attribute VB_Name = "path"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public pathname As String
Public dbbackpath
'浏览
Private Sub Command1_Click()
path.Enabled = False
pathChoose.Show
End Sub
'确定
Private Sub Command2_Click()
Command2.Enabled = False
dbbackpath = fBackupDatabase_a(pathname, "HmYKT")
MsgBox dbbackpath
Command2.Enabled = True
End Sub
'取消
Private Sub Command3_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -