GLOBAL SITES
 Home > Word-2-CHM > Macrobject Word-2-CHM Manual
Welcome to DocAuto products
Creating CHM Help File
Options
Regenerating CHM File
Using Command-Line
Using Context-Sensitive Help in Your Program
  Using Command-Line
  Page Filename Rule Details
  Using Html Help API
Working with Security Software
FAQ
Registering Word-2-CHM
End User License Agreement

6.3     Using Html Help API

Word-2-CHM Pro can create help Id (context id, topic id, etc.) and help Id definition file automatically. A unique and persistent help Id will be created for each help topic while the “Auto Help Id” option is checked.

 

Steps for creating help Ids:

1.    Check the “Auto Help Id” option.

2.    Select a help Id definition template from the drop-down list.

3.    Save the work to a Word-2-CHM project.

4.    Create the CHM file.

 

After the CHM file is created:

1.    A help Id file named “Project Name.helpid.ini” is saved to the same folder where the “.word2chm” project file is.  For example, the help Id file will be named “help1.helpid.ini” if the project is named “help1.word2chm”.  
DO NOT DELETE THIS FILE!
The file contains the help Ids of every help topic. Word-2-CHM uses it to keep the help Ids persisted. Of course, you can modify the help Ids in this file manual as you wish.

2.    A help id definition file is saved to the same folder as the created CHM file. The filename of the definition file is same as the CHM file, and the extension of the file is same as the template you selected. For instance, the CHM is named “help1.chm” and the selected template is “C#.cs”, the definition file will be named “help1.cs”. The definition file will be recreated every time you recreate the CHM file. You should add the definition file to your program to use it.

 

Note:

There are several predefined help Id definition templates in the sub-folder “Templates.HelpId” of the installation folder of Word-2-CHM Pro. The most common, the folder is “C:\Program Files\Macrobject\Word-2-CHM Pro\ Templates.HelpId”. You can create you own template file and put it in this folder or modify the existing templates.

 

Related Topics

Using Context-Sensitive Help in Your Program