Web based help

Recompiling your help also creates files needed for web based help. Our web based help is functionally equivalent to HTML Help. The advantages of browser based help are

To make the web based help available:

  1. upload the help project folder (\chm) to your website
  2. add a call to OpenHyperLink function with the approriate URL to your Help button or menu item:

2.1 http://www.mysite.com/chm/main.htm - this opens the web based help including contents and help - or

2.2 http://www.mysite.com/chm/mytopic.htm

2.3 http://www.mysite.com/chm/main.htm?"mytopic.htm"

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 Long


Public Sub OpenHyperLink(ByVal vstrHyperLink As String)
    ShellExecute 0&, vbNullString, vstrHyperLink, vbNullString, vbNullString, vbNormalFocus
End Sub