Hi,
To use a CHM as a help source for your application you can use the webbrowser control. You need to pass the correct url to the webbrowser control.
webBrowser.Navigate(@"mk:@MSITStore:C:\HelpFiles\Help.chm::/Index.htm");
You could wrap that up in a class to make it easer to use. For example, filename is the full path to your CHM file, page is the name of the page inside the CHM, for example Index.Htm
public static string GetChmUrl(string fileName, string page)
{
StringBuilder url = new StringBuilder();
url.AppendFormat("mk:@MSITStore:{0}::", fileName);
if(page.IndexOf('/') != 0) url.Append('/');
url.Append(page);
return url.ToString();
}
and to pass it to your webbrowser:
webBrowser.Navigate(new Uri(GetChmUrl(mFileName, page)));
You can read these articles about help system in C#
Context Help Made Easy[
^]
good luck
Valery.