Results 1 to 2 of 2

Thread: Please, an example of how to call HTML Help

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2000
    Location
    Maceió,Al - Brazil
    Posts
    30

    Question

    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.

  2. #2
    Guest
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width