简体   繁体   中英

Embedding *.chm help file in application itself (C# Winform)

How can I include/embed.*chm help file in application itself (not as separate file in output)? Can it be placed in "Resources.resx" and read from there? I tried this method but it seems that it doesn't work...

Storing the chm in a resource is a bad idea and difficult to handle, deploy it as a plain file.

Changing and recompiling a CHM file is not an easy task without the associated project file (*.hhp). Therefore, the content is reasonably - but of course not completely - safe.

A user actually makes your software unusable by making changes to the installation path and help content. Updating the help topics must match the version of your app and is your responsibility.

If it meets your requirements you can think about a so-called web-based help. Upload your help to a server and add a web browser control to your application.

See also: Best approach to implement Help feature in Windows Desktop Application - Restrict the App knowledge base to authorize access

Old stuff, but have a look at a sample for Uncompressed help here too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM