module3.bas
来自「VB做的内存补丁模板,可以制作出自己的内存补丁风格,类似KEYMAKE的功能」· BAS 代码 · 共 21 行
BAS
21 行
Attribute VB_Name = "runfile"
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWND As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Public Function ShellFile(path As String)
ShellFile = ShellExecute(FrmMain.hWND, "open", path, "", "", 1)
End Function
Public Function GetFileName(ByVal path As String) As String
path = StrReverse(path)
path = Left(path, InStr(path, "\") - 1)
path = StrReverse(path)
GetFileName = path
End Function
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?