C# Tutorial 95: How to open and use CHM (Compiled HTML Help) help file in C#


How To Make C# Open A .CHM File From A Menu Strip Button
how to attach .chm file to my project in c#
code for how to open a help file in c#
.NET/C# Help Files
How to open a particular page in chm file using c#
How To Open A Particular Page In Chm File Using C#
Opening a Help dialog (chm file)
How to open a CHM file through your C# application
Searches related to how to open a chm file c#
open chm file mac
open chm file linux
ubuntu open chm file
cannot open chm file
open chm file ubuntu
open chm file vista
how to open chm file in windows 7
can’t open chm file windows 7



  1. Could you tell please, if i use NetBeans, which design is similar with MVS, the same operation, commands, etc. But, in NetBeans to get final application, we need to Clean and Build Project, it means we can send application to anyone and anywhere. Help button than doesn't work, Please advise. Thank you in advance.

  2. Since I needed to deploy my application, I put MyHelp.chm file in my binRelease directory and included the following code. The problem with doing it the way you show in the tutorial is that the program is always going to try to use that hard coded path to the help file file.
    This code basically finds the file in the same directory that the executable lives in no matter where it gets put

    using System.IO;
    using System.Reflection;

    string executableLocation = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
    string helpLocation = Path.Combine(executableLocation, "MyHelp.chm");
    Help.ShowHelp(this, "File://" + helpLocation);


Please enter your comment!
Please enter your name here