I have a vb.net Winforms application. I also have a compiled help file (chm) that I created using RoboHelp 6.0.
I want to open a specific help topic, and therefore I use the following code for this.
System.Windows.Forms.Help.ShowHelp (Me, "MyHelpFile.chm", HelpNavigator.KeywordIndex, "MyTopic")
Of course, I use a variable instead of string literals ... working with me here; /)
In this case, the help file is opened on the index in the left panel, and the topic is selected in the "Index" area, but the main / first page of the help file is displayed in the right (content) panel ... not my topic,
I tried every combination from the HelpNavigator enumeration and none of them work. Only a few of them should work, since most of them are not intended to reveal a certain topic ... but for those who should work here, this is the result.
HelpNavigator.Topic. When I use this option, I get the left pane to open in TOC and everything is collapsed and nothing is selected. The right pane displays a standard IE error:
"This program cannot display the webpage
Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
What you can try:
Check your Internet connection. Try visiting another website to make sure you are connected.
Retype the address.
Go back to the previous page.
More information "
HelpNavigator.TopicID - I canโt try because, as far as I can tell, my themes do not have theme identifiers.
Here are my questions -
, ? ? (, , ? , , , , . TOC, .)
TOC ( ), - .