Hello,
So far I have my .CHM file working with my application through a
HelpProvider. But, I would like to display certain locations on a page
immediately. For instance, I have a page 'DataEntry.htm' in my helpfile
'DataEntry.chm' with a paragraph about a subject called "Supplementary
Data". I have marked that paragraph with an anchor tag <a
name="#SupplementaryData">.
In a web browser, going to that location works just fine: the location
file://DataEntry.htm#SupplementaryData takes me to that page and goes right
to the paragraph. However, referring to it with the HelpProvider.SetKeyword
method doesn't work:
hlpDataEntry.HelpNamespace = "c:\\DataEntry.chm";
hlpDataEntry.SetHelpNavigator(txtSupplementaryData , HelpNavigator.Topic);
hlpDataEntry.SetHelpKeyword(txtSupplementaryData,
"DataEntry.htm#SupplementaryData");
These lines of code take me to the 'DataEntry.htm' page, but don't jump to
the specified paragraph. Is there a way to achieve this?
With regards,
Marcel Brekelmans