我做了一个帮助,帮助扩展名为:".chm",
但如何使帮助和应用程序进行连接?
最好提供源代码
shell "c:\windows\hh.exe 你的文件.chm"
Private 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
Private Sub Command1_Click()
ShellExecute Me.hwnd, "Open", "C:\aa.chm", "", App.Path, 1
End Sub
Private Sub Command2_Click()
Shell "start.exe C:\aa.chm", 1
End Sub