I\'ve been working on a WPF application for a while, and the time has come to attach the CHM format help document to it.
But alas! HelpProvider, the standard way to
How about using the Help class instead of opening the file externally
Call me crazy, but couldn't you just do:
System.Diagnostics.Process.Start(@"C:\path-to-chm-file.chm");
If you include System.Windows.Forms.dll you can also do:
System.Windows.Forms.Help.ShowHelp(null, @"help.chm");
Also, there's an article here about adding a context sensitive help system to WPF.
You can use http://www.pinvoke.net/default.aspx/hhctrl.HtmlHelp to open chm help at specified topic and to have more control of how chm window shown.
I am trying out Easy Help with WPF, which also addresses context sensitive help based on key words. So far it seems good. All I need to do is get cracking and write some decent help!