Question

I want to open a specific subpage of my CHM-Help for my program.
I never did this in c#, so I need to know how to open the specific Page of the CHM.
A short example would be perfect.

Was it helpful?

Solution

You can use System.Windows.Forms.Help.ShowHelp(Control, String, HelpNavigator)

From MSDN

// Open the Help file for the Character Map topic and 
// display the Index page.
private void Button2_Click(System.Object sender, System.EventArgs e)
{

    Help.ShowHelp(TextBox1, "file://c:\\charmap.chm", 
        HelpNavigator.Index);
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top