📄 frm报盘输出.frm
字号:
VERSION 5.00
Begin VB.Form frm报盘输出
Caption = "报盘输出"
ClientHeight = 1500
ClientLeft = 60
ClientTop = 345
ClientWidth = 4875
ControlBox = 0 'False
LinkTopic = "Form1"
ScaleHeight = 1500
ScaleWidth = 4875
StartUpPosition = 2 'CenterScreen
Begin VB.DriveListBox d1
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Left = 2280
TabIndex = 3
Top = 270
Width = 2175
End
Begin VB.CommandButton Command2
Caption = "返回(&Q)"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 435
Left = 2820
TabIndex = 1
Top = 900
Width = 1485
End
Begin VB.CommandButton Command1
Caption = "确定(&E)"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 435
Left = 450
TabIndex = 0
Top = 900
Width = 1485
End
Begin VB.Label Label1
Caption = "选择输出的磁盘:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 210
TabIndex = 2
Top = 300
Width = 1935
End
End
Attribute VB_Name = "frm报盘输出"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Left(Trim(d1.Drive), 2) <> "a:" And Left(Trim(d1.Drive), 2) <> "b:" And Left(Trim(d1.Drive), 2) <> "A:" And Left(Trim(d1.Drive), 2) <> "B:" Then
hxfyn = MsgBox("应选择软盘驱动器,请重选!", 48)
Else
On Error GoTo ER:
Me.Caption = "正在复制文件,请等待....."
FileCopy xtlj & file1, Trim(d1.Drive) + "\" & file1
FileCopy xtlj & file2, Trim(d1.Drive) + "\" & file2
Me.Caption = "报盘输出"
hxfyn = MsgBox("复制完成!", 48)
Unload Me
End If
GoTo en
ER: hxfyn = MsgBox("磁盘未准备好或写保护等错误,请处理后再进行!", 48)
en: End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
If dwccklb = "普通卡" Then
file1 = "gzwat.txt"
End If
If dwccklb = "借记卡" Then
file1 = "disk.txt"
End If
file2 = "readme.txt"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -