Click here to Skip to main content
16,012,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am working on c# windows application and i want to add .chm files to the application.

How can i do that

It is in c#(windows application).


Regards,
Nagaraju.N
Posted
Updated 2-Aug-11 22:55pm
v2
Comments
Syed Salman Raza Zaidi 3-Aug-11 5:00am    
CHM file to open for HELP?

You can call a help file using

Help.ShowHelp(The Parent Control, the .chm file location)
 
Share this answer
 
You can use the HelpProvider class[^] to load CHM files[^].
 
Share this answer
 
Hi
There are lot many third party resources by using which you can easily create the help files(.chm files).
few of them are

http://www.softany.com/winchm/chm-maker.htm[^]

http://abeetech.com/chmmakerpro/[^]

after successful creation of your help file copy that file on to the bin folder of your application.
Then use the following line of code to open the file

FileStream fileStream = new FileStream(@"c:\file.txt", FileMode.Open, FileAccess.Read);
 
Share this answer
 
CHM[^]Link will guide you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900