【VB开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了VB开源代码-搜寻所有副标题相同的文件.frm的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3705
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3705
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "关闭"
Height = 495
Left = 120
TabIndex = 3
Top = 2280
Width = 2055
End
Begin VB.FileListBox File1
Height = 2610
Left = 2400
TabIndex = 2
Top = 120
Width = 2175
End
Begin VB.DirListBox Dir1
Height = 1560
Left = 120
TabIndex = 1
Top = 600
Width = 2055
End
Begin
VB.DriveListBox Drive1
Height = 300
Left = 120
TabIndex = 0
Top = 120
Width = 2055
End
Begin VB.Label Label1
Height = 495
Left = 240
TabIndex = 4
Top = 3000
Width = 4215
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
End
End Sub
Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub
Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive
End Sub
Private Sub File1_Click()
Label1 = Dir1.Path & "\" & File1.FileName
End Sub
Private Sub File1_DblClick()
MsgBox FileLen(Dir1.Path & "\" & File1.FileName) & "byte"
End Sub