📄 导入.frm
字号:
VERSION 5.00
Begin VB.Form 导入
Caption = "数据导入"
ClientHeight = 7455
ClientLeft = 60
ClientTop = 345
ClientWidth = 8580
Icon = "导入.frx":0000
LinkTopic = "Form1"
ScaleHeight = 7455
ScaleWidth = 8580
StartUpPosition = 2 '屏幕中心
Begin VB.FileListBox File1
ForeColor = &H80000007&
Height = 4410
Left = 3720
Pattern = "*.xls"
TabIndex = 9
Top = 480
Width = 4485
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 = 405
Left = 4440
TabIndex = 4
Top = 6720
Width = 1305
End
Begin VB.CommandButton Command1
Caption = "导入(&D)"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 1800
TabIndex = 3
Top = 6720
Width = 1305
End
Begin VB.Frame Frame1
Caption = "选择导入文件路径:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 6255
Left = 120
TabIndex = 0
Top = 120
Width = 8295
Begin VB.ComboBox Combo1
Height = 300
Left = 1320
TabIndex = 8
Top = 5640
Width = 6735
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Left = 1320
TabIndex = 6
Text = " "
Top = 5040
Width = 6735
End
Begin VB.DirListBox Dir1
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 4140
Left = 240
TabIndex = 2
Top = 720
Width = 3225
End
Begin VB.DriveListBox Drive1
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Left = 210
TabIndex = 1
Top = 330
Width = 3285
End
Begin VB.Label Label2
Caption = "文件类型(T)"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 7
Top = 5640
Width = 1335
End
Begin VB.Label Label1
Caption = "文件名(N)"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 120
TabIndex = 5
Top = 5040
Width = 1935
End
End
End
Attribute VB_Name = "导入"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Dir1_Change()
Text1.Text = Dir1.Path
File1.Path = Dir1.Path
End Sub
Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive
Text1.Text = Dir1.Path
File1.Path = Dir1.Path
End Sub
Private Sub Form_Load()
Drive1.Drive = App.Path
Dir1.Path = Drive1.Drive
End Sub
Private Sub Label1_Click()
Label1.Text = " "
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -