?? md5.frm
字號:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 5025
ClientLeft = 60
ClientTop = 450
ClientWidth = 8370
LinkTopic = "Form1"
ScaleHeight = 5025
ScaleWidth = 8370
StartUpPosition = 3 '窗口缺省
Begin VB.FileListBox File1
Height = 2970
Left = 3600
TabIndex = 6
Top = 1320
Width = 2415
End
Begin VB.DriveListBox Drive1
Height = 300
Left = 960
TabIndex = 5
Top = 1320
Width = 2535
End
Begin VB.DirListBox Dir1
Height = 2610
Left = 960
TabIndex = 4
Top = 1680
Width = 2535
End
Begin MSComDlg.CommonDialog CMDL
Left = 8400
Top = 360
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton Command2
Caption = "計算文件的MD5值"
Height = 375
Left = 6360
TabIndex = 3
Top = 720
Width = 1935
End
Begin VB.TextBox OutputT
Height = 375
Left = 960
TabIndex = 2
Top = 720
Width = 5055
End
Begin VB.CommandButton Command1
Caption = "查詢輸入文本的MD5值"
Height = 375
Left = 6360
TabIndex = 1
Top = 240
Width = 1935
End
Begin VB.TextBox InputT
Height = 375
Left = 960
TabIndex = 0
Top = 240
Width = 5055
End
Begin VB.Label Label2
Caption = "MD5值:"
Height = 375
Left = 120
TabIndex = 8
Top = 840
Width = 855
End
Begin VB.Label Label1
Caption = "文本:"
Height = 375
Left = 120
TabIndex = 7
Top = 360
Width = 735
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
OutputT.Text = Md5_String_Calc(InputT.Text)
End Sub
Private Sub Command2_Click()
Dim sFile As String
CMDL.ShowOpen
sFile = CMDL.FileName
OutputT.Text = Md5_File_Calc(sFile)
End Sub
Private Sub Command3_Click()
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()
OutputT.Text = Md5_File_Calc(Dir1.Path + "\" + File1.FileName)
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -