
We have identified WinHelp and HtmlHelp as two alternatives for this. We are making unicode supported windows help. You can download a sample MS Access application by clicking this link.I am Akhil Gupta working in Infosys. Once the module is successfully imported, the HTMLHelp() function will be available for usage from any module of your VB/VBA application.


In this case, we do not call a help topic, but pass the HH_DISPLAY_TOC constant to the HTMLHelp() function. Similarly, you can implement the Show Help command, when the user calls the help system from a menu or by pressing F1 in your application. CHM file, and MyTopicContextID is the numeric topic ID as defined in your help project.

Where MyHelpFile stands for the full path to your. HTMLHelp 0, MyHelpFile, HH_HELP_CONTEXT, MyTopicContextID To display a help topic from your HTML Help CHM file, simply call the HTMLHelp() function with the HH_HELP_CONTEXT constant as shown below. Public Const HH_DISPLAY_TOPIC = &H0ĭeclare Function HTMLHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" ( ByVal hwndCaller As Long, ByVal pszFile As String, ByVal uCommand As Long, ByVal dwData As Long) As Long Write the code as shown below to declare the HTML Help function and constants which are needed to perform operations such as calling a help topic, displaying help Index, and so on. In VBA, use the menu command " Insert|Module". In the Visual Basic environment, click " Project|Add Module" to insert a new module for the required declarations. If you are a Visual Basic/VBA (MS Word, MS Excel, MS Access, etc) developer, you can integrate an HTML Help (.CHM) system with your application by using HTML Help API calls.

How to Connect HTML Help with your Visual Basic/VBA Application
