1.
Public 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 LongPrivate Sub MenuHelp_Click()
ShellExecute 0&, vbNullString, "C:\WINDOWS\HELP\ieeula.chm", vbNullString, vbNullString, vbNormalFocus
End Sub2. 自己作个FORM,然后调用它。
Public 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 LongPrivate Sub MenuHelp_Click()
ShellExecute 0&, vbNullString, "C:\WINDOWS\HELP\ieeula.chm", vbNullString, vbNullString, vbNormalFocus
End Sub2. 自己作个FORM,然后调用它。
在project->properties里面,想填几就是几