As explained here
http://msdn.microsoft.com/en-us/library/xbx3z216.aspx[
^] resources, such as
strings, images, or object data
, can be included in resources files. Since,
.chm
file is not a string and not an image it can be stored as an object. But, then retrieving it and accessing the contents to display help may be difficult.
I think it is preferable to keep it as a separate file and include it in the setup project.
As explained here
http://vijirajkumar.blogspot.in/2010/03/create-setup-and-deployment-project.html[
^] a file can be included in the
Setup project
. When the installation is done on the user machine this file will be copied to the folder on the user machine as designated in the Setup project. Hence, the file can be accessed as a
.chm
file from the application.
Regarding Setup project I think the following references
http://msdn.microsoft.com/en-us/library/19x10e5c.aspx[
^]
http://msdn.microsoft.com/en-us/library/z11b431t.aspx[
^]
http://www.youtube.com/watch?v=S-rEZ4Ir_PQ[
^]
may also be helpful.
This Code Project article
C# WinForms Application Full Integration with HTMLHelp ( .chm ) - Help Topics, Context Sensitive Help, and Tooltips[
^] may be helpful to integrate the help in the application.