Knowledge Base

Tips for creating and compiling your Windows Help File when you use Microsoft Office 97 Developer Edition

Article ID: 171958

Article Last Modified on 11/16/2004


APPLIES TO


This article was previously published under Q171958
Moderate: Requires basic macro, coding, and interoperability skills.

SUMMARY

This article contains helpful hints on how to create and compile your Windows Help files using the Windows 4.0 Help Compiler that is included in the Windows Help Workshop. It explains the necessary steps, the tools that you will need, and some of the problems you may encounter.

MORE INFORMATION

Windows Help files consist of topic files and project files. You can create your topic files using a word processor, such as Microsoft Word. You can create your project files using Microsoft Help Workshop. The following steps are involved in creating your Windows Help file:
  1. Creating Your Topic file in a Word processor.
  2. Creating Your Project file.
  3. Compiling and Viewing Your Windows Help file.
  4. Troubleshooting Problems You Encounter Creating Your Windows Help File.

Creating your topic file in a word processor

A topic file contains the words and pictures that make up your Help file. It is usually divided into logical sections, or topics, that users can search through by clicking hot spots, using keyword searches, or browsing through the topics.

Note Microsoft Word 97 produces a Rich Text file that is incompatible with Microsoft Help Compiler 4.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

164012 Error "The RTF file .\<name> Is Corrupted At Offset..."

The following file takes care of this problem. The following file is available for download from the Microsoft Download Center:
[GRAPHIC: Download]Download the Hcwsetup.exe package now. The self-extracting archive file, Hcwsetup.exe, contains the Microsoft Help Workshop version 4.03 and instructions for installing this program.

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to obtain Microsoft support files from online services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
When you create your Windows Help file, remember the following helpful hints:

For more information about creating topic files, please see the topic "Creating Topic Files," in the Help Workshop Help Index.

For additional information about creating context-sensitive help for your application, click the following article numbers to view the articles in the Microsoft Knowledge Base:

141621 How to create pop-up context sensitive Help (95/97)

90808 HelpContextID property accepts valid negative values

For additional information about errors you may receive invoking a custom help file, click the following article number to view the article in the Microsoft Knowledge Base:

103179 Help topic does not exist err invoking custom Help file

Creating your project file

After you have successfully created your topic file, you will need to create a project file. Project files contain information about the location of your topic and graphic files. They also contain settings that customize the way your Help file looks and functions. You can use the Help Workshop to compile your project file.

For information about using the Help Workshop for compiling your project file, please see the topic "Creating a Project File" in the Help Workshop Help Index.

Note If you use the Training cards on the Help Menu for assistance in creating a project in the Help Workshop, when you get to the last card, the Close button will not dismiss the Final Training card. You must manually close the card by click the Close button in the upper-right corner of the window or by pressing ALT+F4 on the keyboard.

Compiling and viewing your Windows Help file

Once you have created your project file, you can compile and view your Help file in Help Workshop. To compile your Help file, follow these steps:
  1. On the File menu, click Compile.
  2. In the "Compile a Help File" dialog box, select your project file in the Project File list box. If your project file does not appear in this list box, click the Browse button to search for it.
  3. When your project file is displayed in the Project File list box, click Compile.
  4. If Help Workshop reports any errors while compiling the topic file, you will need to check your topic file and project file for errors. Help Workshop stores error messages in the MyHelp.err file. When your Windows Help file compiles without errors, it is ready to be distributed with your application.

Troubleshooting problems you encounter creating your Windows Help file

The following section describes problems you may encounter while creating and compiling your Windows Help file and offers suggestions on how to solve them.

For more information about troubleshooting tips, see "Microsoft Windows 95 Help Authoring Kit", Chapter 14, "Troubleshooting," pages 241-269.

For more information about error messages that you receive in Help Workshop, search the Help Index for "error numbers, Winhelp."

For additional informationabout using the Windows Help compiler, click the following article numbers to view the articles in the Microsoft Knowledge Base:

74937 Authoring Windows Help files for performance

77841 Vertical scroll bars missing from Windows Help

83020 Semicolons cannot separate macros in .hpj file

93395 Using the FORCEFONT .hpj option

90291 Using graphics within a Help file


For additional information about creating Windows Help files, please see the Microsoft Press book, "Microsoft Access 97 Developer's Handbook," Appendix B, "Creating Windows Help Files," pages 563-569.

Additional query words: 4 0

Keywords: kbdownload kbusage KB171958