When you view an HTML Help file (.chm file name extension), you may receive one of the following:
- No text in the body of the help file
- An access violation error message
- The following error message:
"Page Cannot Be Displayed"
One or more of the problems in the previous list can occur if the CHM file name or the path to the file contains a number sign (#). If the CHM file name contains the # symbol, then the topics in the table of contents do not appear. If the path contains the # symbol, then you may receive an access violation error message.
To work around this issue, remove the # symbol from the file name or from the path to the file.
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
To check which version of HTML Help you are using, locate the file Hhctrl.ocx on your computer. Right-click Hhctrl.ocx
, click Properties
, and then verify the version correspondence below:
Collapse this tableExpand this table
|HHCTRL.OCX||HTML Help||Typically on OS|
Steps to Reproduce Behavior
To reproduce the problem, follow these steps:
- Locate any CHM file on your computer that contains a table of contents. Rename the file so that the file name contains the # symbol.
- Double-click the CHM file. Note that the table of contents appears but the topics do not appear in the rightmost pane of the Help window.
- Change back the file name of the CHM file to the original name.
- Rename the folder that contains the CHM file so that the folder name contains the # symbol.
- Double-click the CHM file. You receive an access violation error message.
NOTE: If you attempt to reproduce the behavior on a computer running Windows XP, then an error report is generated.
Article ID: 319247 - Last Review: June 19, 2014 - Revision: 2.0
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.