I want to Open the particular page of CHM file. I am using WPF application. Currently i have implemented the
System.Diagnostics.Process.Start(filepath)
This will not help open the particular page
Regards, NewDev
How to open a CHM file. In Windows, you can open a CHM file by double-clicking it. When you do, the CHM file will appear within Microsoft HTML Help Executable. If your CHM file contains an eBook, you can open it in Calibre (multiplatform) or another eReader that supports the CHM format.
It sounds like you're essentially trying to add context-sensitive help to a WPF application. For example, that if you hit F1 with your cursor in a specific textbox, you'll see help for that specific textbox.
If that's the case, see this article:
http://blogs.msdn.com/b/mikehillberg/archive/2007/07/26/a-context-sensitive-help-provider-in-wpf.aspx
or this one:
http://www.netframeworkdev.com/windows-presentation-foundation-wpf/contextsensitive-help-in-wpf-73953.shtml
Specifically, you can accomplish this using the System.Windows.Forms.Help.ShowHelp() command.
You may need to add a reference to System.Windows.Forms.dll to access the Help functions.
Finally, if you're still lost on using Help files, all the info you need should be right here: http://msdn.microsoft.com/en-us/library/2ksk25ts.aspx This is all for Windows Forms, of course, but it should carry over to WPF if you have the correct references.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With