Hi friends,
I've converted a WinHelp into a HTMLHelp but I don't know to call it. If there is an API I'd like to have an example.
Thanks in advance for any help.
Fernando.
Printable View
Hi friends,
I've converted a WinHelp into a HTMLHelp but I don't know to call it. If there is an API I'd like to have an example.
Thanks in advance for any help.
Fernando.
Try the ShellExecute api function.
Code: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 Const SW_SHOWNORMAL = 1
Usage
ShellExecute Me.hwnd, "open", "C:\Help.hlp", _
vbNullString, "c:\", SW_SHOWNORMAL