BUG: Error Associating ALinks Across Merged HTML Help Files (267948)
The information in this article applies to:
- Microsoft HTML Help 1.21
- Microsoft HTML Help 1.22
- Microsoft HTML Help 1.3
- Microsoft HTML Help 1.31
- Microsoft HTML Help 1.32
This article was previously published under Q267948 SYMPTOMS
When you click a link or button in an HTML Help file (.chm file), you may receive the following error message:
Selection is not associated with any topic. Please try another selection.
CAUSE
The link or button uses the HTML Help ALink control. The ALink control allows you to jump to other topics based on keywords; this is done at run time.
There are two possible causes for this problem:
- The author of the HTML Help file didn't create any topics that contained the desired keyword.
- The ALink control is trying to operate across merged .chm files. In this scenario, the .htm topic file that contains the control does not have any keywords. The keywords are being used in other .htm topic files that reside in the other .chm file. If there are no keywords in the .chm file that contains the ALink HTML Help control, the ALinks will not work properly with other .chm files after they are merged.
RESOLUTION
You can resolve the first cause by verifying that the keyword the ALink control is looking for actually exists in one of the topics. Carefully check the spelling.
The second cause, which involves the merged .chm problem, requires several steps to resolve it:
- Open the .htm topic file that contains the ALink HTML Help control.
- Place the cursor within the BODY tags.
- On the Edit menu, click Compiler Information.
- On the ALink Names tab, click Add. Specify any name (it does not have to be used).
- Save and recompile the child project that contains this .htm topic file.
- Open the master .chm file that merges the child .chm files, and recompile it.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 4/11/2001 |
---|
Keywords: | kbbug kbCompiler kbDSupport KB267948 |
---|
|