Activating HTML Help from you application using
code
The generated HTML Help is automatically linked to your application such that
if the user presses F1 the help appears. However in many cases you want Help to
be started by pressing a button on your form or from a toolbar. We have
developed easy and reliable code which shows how to do this which is available to registered users. With this
code you can:
- Open Topic given its HelpContextId
- Open Topic given its HTML filename
- Open Topic given its HTML filename with bookmark (useful for forms with
tabs)
- Open Help Table Of Contents
- Open Help Index
- Open Help Search dialog
The code is reliable (as opposed to code found on the web, calling windows
help can be tricky and cause GPF) and easy to use:
- HTMLHelp.OpenTopic strBookmark, Me.HelpFile
From the website you can
download demo program showing what is functionality supported. The source of
the demo and the help activating code is available to
registered users.
|