MOD2000: How to Create Context Sensitive HTML Help Files (242433)
The information in this article applies to:
- Microsoft Office 2000 Developer
This article was previously published under Q242433 For a Microsoft Office XP Developer version of this article, see 296231.
SUMMARY
In HTML Help Workshop, which is included in Microsoft Office 2000 Developer, you can create Help files in compressed HTML (.chm). This is a significant change from the Help workshop that is included in Microsoft Office 97 Developer Edition. Help Workshop in Microsoft Office 97 Developer Edition creates Winhelp files (.hlp).
This article demonstrates how to create a simple HTML Help file in HTML Help Workshop, and then how to use the Help file in a Microsoft Access form. The Help file uses context IDs to show different Help topics, depending on where you click the pointer in the form.
Creating this simple HTML Help file involves completing the following topics:
-
Creating two HTML files: one for the form and one for the control.
-
Creating a map file to define the context IDs.
-
Creating an alias file that associates each topic ID with a topic.
-
Compiling these files in HTML Help Workshop into a single compressed HTML file (*.chm).
-
Adding the path to the HelpFile property of a sample form.
-
Assigning context IDs to the form and to a control on the form.
-
Testing the form.
The result is a form on which you can press F1 while in a particular text box to get a particular Help topic. Pressing F1 anywhere else on the form displays the general form Help topic.
REFERENCES
For more information about creating header files, in HTML Help Workshop, click Help Topics on the Help menu, type header files on the Search tab, and then click List Topics to view the topics returned.
Modification Type: | Major | Last Reviewed: | 5/10/2001 |
---|
Keywords: | kbhowto KB242433 |
---|
|