Hi,
If you are using HelpNavigator.Topic then in last paarameter TopicId should
come.If you are using keyword then you should use following syntax:
' Display the help page for a specific keyword.
Help.ShowHelp(Me, "c:\myhelpfile.chm", "mykeyword")
The other method, ShowHelp, is overloaded to provide access to different
portions of the help document:
' Display the contents of the help file.
Help.ShowHelp(Me, "c:\myhelpfile.chm")
' Display the index page of the help file.
Help.ShowHelp(Me, "c:\myhelpfile.chm", HelpNavigator.Index)
' Display the search page of the help file.
Help.ShowHelp(Me, "c:\myhelpfile.chm", HelpNavigator.Find)
' Display the help page for a specific keyword.
Help.ShowHelp(Me, "c:\myhelpfile.chm", "mykeyword")
' Display the help page for the specific topic #123.
Help.ShowHelp(Me, "c:\myhelpfile.chm", HelpNavigator.Topic, 123)
--
Hope this answers your question
Thanks and Regards.
Manish Bafna.
MCP and MCTS.
"Tracks" wrote:
I want to show a specific help page in a .chm file from vb.net. This code
shows the .chm file but it just goes to the first page or shows an error on
the page:
Help.ShowHelp(Me, "myhelp.chm", HelpNavigator.Topic, "A Quick Tour")
or Help.ShowHelp(Me, "myhelp.chm", HelpNavigator.Topic,
"aquicktour.htm")
or all combinations of contents, index, etc. I cant seem to go to a specific
page. The .chm file is created in doc to help and I look there for the topic
name etc.
Do I have to turn something on first in vb.net or do something special in
doc to help for the .chm file? Do I not have the right topic name? The topics
pages are there in the .chm, I just cant jump to them from vb?
Searching the desert always leaves me with the same lines of code. What am I
missing here?
Thanks,
Tom