📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BackColor = &H00C0C0C0&
ClientHeight = 3705
ClientLeft = 60
ClientTop = 345
ClientWidth = 5895
FillColor = &H00808080&
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "Form1.frx":0000
LinkTopic = "Form1"
ScaleHeight = 3705
ScaleWidth = 5895
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command1
Caption = "复制"
Height = 495
Left = 1920
TabIndex = 0
Top = 1440
Width = 1215
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'CODE Manger By BcodeXRose
Dim char As Byte
Dim filenum1, filenum2 As Integer
'##################################################################
'## 过程名称:Command1_Click
'## 参数: 无
'##################################################################
Private Sub Command1_Click()
filenum1 = FreeFile
Open "c:\student.dat" For Binary As #filenum1
filenum2 = FreeFile
Open "c:\student.bak" For Binary As #filenum2
Do While Not EOF(filenum1)
Get #1, , char
Put #2, , char
Loop
Close #filenum1
Close #filenum2
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -