private void btnhelp_Click(object sender, EventArgs e)
{
Help.ShowHelp(this, "file://e:\\Testchm\\test1.chm");
}
I have created a test1.chm file.I can show this help file using above code.
But you can see there is topics as a tree view.
I need,When I click my button i need to focus one of topic in my help file.
as example button1 click then i need to show Getting Started -> Getting help.
How I set this path to my button
Help.ShowHelp(this, "file://e:\\Testchm\\test1.chm");
Please help.This is very useful for finish my system.
Show help document in .chm file
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Sunny SharmaRank #223 · 11.1K pointsPosted Oct 14, 2013, 9:50 PM EDT
Here you go:
modify your line of code to read like below.
Help.ShowHelp(this, "c:\my_help_file.chm", HelpNavigator.TopicId, "101"); // Here "101" is the topic ID you want to set, Change it with desired value.
Hope it helps :)
Cheers!!