Running a compiled help file from the Web

Microsoft HTML Help

Running a compiled help file from the Web

You can add a link to a compiled help file to a page on a Web site. When a user clicks the link a dialog box will appear that gives them the option of saving the compiled help file to their hard disk or opening it from the directory where it's located.

To open a compiled help file from a Web page or topic file

  1. Create an HTML file.
  2. Use the following syntax to open the compiled help (.chm) file from your HTML file:

    <A HREF="file name.chm">Link text</a>

    where file name.chm is the name of the compiled help file, and Link text is the text link.
  3. Make sure that the compiled help file you want to link to is located in the same directory as the topic file you are linking from.

Note

  • If the compiled help file you are linking to is in a different directory than the topic you are linking from, you will need to enter the path to the compiled help file. For example, if the help file is located in a directory on the Web, you would need to enter the full URL including the HTTP address, <A HREF="http://www.sample.com/example.chm">
Home page link About creating a link to another compiled help file