?? 數(shù)據(jù)恢復(fù).frm
字號:
VERSION 5.00
Begin VB.Form main_xt_sjhf
BorderStyle = 3 'Fixed Dialog
Caption = "系統(tǒng)設(shè)置——【數(shù)據(jù)恢復(fù)】"
ClientHeight = 1935
ClientLeft = 3825
ClientTop = 5295
ClientWidth = 4680
Icon = "數(shù)據(jù)恢復(fù).frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1935
ScaleWidth = 4680
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.TextBox Text1
Height = 285
Left = 1995
Top = 540
Width = 1095
End
Begin VB.CommandButton Command2
Caption = "退出"
Height = 405
Left = 2490
TabIndex = 1
Top = 1230
Width = 1590
End
Begin VB.CommandButton Command1
Caption = "開始恢復(fù)"
Height = 405
Left = 570
TabIndex = 0
Top = 1230
Width = 1590
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "將數(shù)據(jù)恢復(fù)到 盤"
Height = 270
Left = 840
TabIndex = 2
Top = 585
Width = 3015
End
End
Attribute VB_Name = "main_xt_sjhf"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'****************************************************************************
'人人為我,我為人人
'枕善居收藏整理
'發(fā)布日期:2007/07/17
'描 述:中小型藥店管理信息系統(tǒng) Ver 1.0
'網(wǎng) 站:http://www.Mndsoft.com/ (VB6源碼博客)
'網(wǎng) 站:http://www.VbDnet.com/ (VB.NET源碼博客,主要基于.NET2005)
'e-mail :Mndsoft@163.com
'e-mail :Mndsoft@126.com
'OICQ :88382850
' 如果您有新的好的代碼別忘記給枕善居哦!
'****************************************************************************
Private Sub Form_Activate()
'賦值給text1
Text1.Text = "A"
End Sub
Private Sub Command1_Click() '確認(rèn)數(shù)據(jù)恢復(fù)
YesNo = MsgBox("準(zhǔn)備好了嗎?", vbNo + vbQuestion)
If YesNo = vbNo Then
Exit Sub
End If
On Error GoTo errprompt
Me.MousePointer = 11
FileCopy Text1.Text & ":\數(shù)據(jù)備份\yyjxc.mdb", App.Path & "\yyjxc.mdb"
Me.MousePointer = 0
MsgBox "數(shù)據(jù)已恢復(fù)完畢。"
errprompt:
Me.MousePointer = 0
Select Case Err.Number
Case 57
MsgBox "磁盤已滿!", vbCritical
Case 70
MsgBox "磁盤寫保護(hù)!", vbCritical
End Select
End Sub
Private Sub Command2_Click()
Load frm_main
frm_main.Show
frm_main.Enabled = True
Unload Me
End Sub
Private Sub Form_Unload(Cancel As Integer)
frm_main.Enabled = True
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -