<p>Back in the old days, Help was not trivial but possible: generate some funky .rtf file with special tags, run it through a compiler, and you got a WinHelp file (.hlp) that actually works really well.</p>

<p>Then, Microsoft decided that WinHelp was not hip and cool anymore and switched to CHM, up to the point they actually axed WinHelp from Vista.</p>

<p>Now, CHM maybe nice, but everyone that tried to open a .chm file on the Network will know the nice "Navigation to the webpage was canceled" screen that is caused by security restrictions.</p>

<p>While there are ways to make CHM work off the network, this is hardly a good choice, because when a user presses the Help Button he wants help and not have to make some funky settings.</p>

<p>Bottom Line: I find CHM absolutely unusable. But with WinHelp not being an option anymore either, I wonder what the alternatives are, especially when it comes to integrate with my Application (i.e. for WinHelp and CHM there are functions that allow you to directly jump to a topic)?</p>

<p>PDF has the disadvantage of requiring the Adobe Reader (or one of the more lightweight ones that not many people use). I could live with that seeing as this is kind of standard nowadays, but can you tell it reliably to jump to a given page/anchor?</p>

<p>HTML files seem to be the best choice, you then just have to deal with different browsers (CSS and stuff).</p>

<p><em>Edit:</em> I am looking to create my own Help Files. As I am a fan of the "No Setup, Just Extract and Run" Philosophy, i had that problem many times in the past because many of my users will run it off the network, which causes exactly this problem.</p>

<p>So i am looking for a more robust and future-proof way to provide help to my users without having to code a different help system for each application i make.</p>

<p>CHM is a really nice format, but that Security Stuff makes it unusable, as a Help system is supposed to provide help to the user, not to generate even more problems.</p>

[{'answer_id': 1135, 'author': 'Ishmaeel', 'author_id': 227, 'author_profile': 'https://Stackoverflow.com/users/227', 'pm_score': 5, 'selected': True, 'text': '<p>HTML would be the next best choice, ONLY IF you would serve them from a public web server. If you tried to bundle it with your app, all the files (and images (and stylesheets (and ...) ) ) would make CHM look like a gift from gods.</p>\n\n<p>That said, when actually bundled in the installation package, (instead of being served over the network), I found the CHM files to work nicely.</p>\n\n<p>OTOH, another pitfall about CHM files: Even if you try to open a CHM file on a <strong>local</strong> disk, you may bump into the security block if you initially downloaded it from somewhere, because the file could be marked as "came from external source" when it was obtained.</p>\n'}, {'answer_id': 1136, 'author': 'Kevin', 'author_id': 40, 'author_profile': 'https://Stackoverflow.com/users/40', 'pm_score': 2, 'selected': False, 'text': '<p>Is the question how to generate your own help files, or what is the best help file format?</p>\n\n<p>Personally, I find CHM to be excellent.  One of the first things I do when setting up a machine is to download the PHP Manual in CHM format (<a href="http://www.php.net/download-docs.php" rel="nofollow noreferrer">http://www.php.net/download-docs.php</a>) and add a hotkey to it in <a href="http://crimsoneditor.com/" rel="nofollow noreferrer">Crimson Editor</a>.  So when I press F1 it loads the CHM and performs a search for the word my cursor is on (great for quick function reference).  </p>\n'}, {'answer_id': 1141, 'author': 'Lasse V. Karlsen', 'author_id': 267, 'author_profile': 'https://Stackoverflow.com/users/267', 'pm_score': 2, 'selected': False, 'text': '<p>Our software is both distributed locally to the clients and served from a network share. We opted for generating both a CHM file and a set of HTML files for serving from the network. Users starting the program locally use the CHM file, and users getting their program served from a network share has to use the HTML files.</p>\n\n<p>We use <a href="http://www.helpandmanual.com/" rel="nofollow noreferrer">Help and Manual</a> and can thus easily produce both types of output from the same source project. The HTML files also contain searching capabilities and doesn\'t require a web server, so though it isn\'t an optimal solution, works fine.</p>\n\n<p>So far all the single-file types for Windows seems broken in one way or another:</p>\n\n<ul>\n<li>WinHelp - obsoleted</li>\n<li>HtmlHelp (CHM) - obsoleted on Vista, doesn\'t work from network share, other than that works really nice</li>\n<li>Microsoft Help 2 (HXS) - this seems to work right up until the point when it doesn\'t, corrupted indexes or similar, this is used by Visual Studio 2005 and above, as an example</li>\n</ul>\n'}, {'answer_id': 1175, 'author': 'Chris Miller', 'author_id': 206, 'author_profile': 'https://Stackoverflow.com/users/206', 'pm_score': 2, 'selected': False, 'text': '<p>If you are doing "just extract and run", you are going to run in security issues.  This is especially true if you are users are running Vista (or later).  is there a reason why you wanted to avoid packaging your applications inside an installer?  Using an installer would alleviate the "external source" problem.  You would be able to use .chm files without any problems.</p>\n\n<p>We use <a href="http://www.installaware.com" rel="nofollow noreferrer">InstallAware</a> to create our install packages.  It\'s not cheap, but is very good.  If cost is your concern, <a href="http://wix.sourceforge.net/" rel="nofollow noreferrer">WIX</a> is open source and pretty robust.  WIX does have a learning curve, but it\'s easy to work with.</p>\n'}, {'answer_id': 1238, 'author': 'Chris Miller', 'author_id': 206, 'author_profile': 'https://Stackoverflow.com/users/206', 'pm_score': 2, 'selected': False, 'text': '<p>If you don\'t want to use an installer and you don\'t want the user to perform any extra steps to allow CHM files over the network, why not fall back to WinHelp?  Vista does not include WinHlp32.exe out of the box, but it is <a href="http://support.microsoft.com/kb/917607" rel="nofollow noreferrer">freely available as a download</a> for both Vista and Server 2008.</p>\n'}, {'answer_id': 2701, 'author': 'graham.reeds', 'author_id': 342, 'author_profile': 'https://Stackoverflow.com/users/342', 'pm_score': 2, 'selected': False, 'text': '<blockquote>\n  <p>PDF has the disadvantage of requiring the Adobe Reader</p>\n</blockquote>\n\n<p>I use <a href="http://www.foxitsoftware.com/pdf/rd_intro.php" rel="nofollow noreferrer">Foxit Reader</a> on Windows at home and at work. A lot smaller and very quick to open. Very handy when you are wondering what exactly a80000326.pdf is and why it is clogging up your documents folder.</p>\n'}, {'answer_id': 93232, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': "<p>I use a commercial package called AuthorIT that can generate a number of different formats, such as chm, html, pdf, word, windows help, xml, xhtml, and some others I have never heard of (does dita ring a bell?).\nIt is a content management system oriented towards the needs of technical documentation writers.\nThe advantage is that you can use and re-use the same content to build a set of guides, and then generate them in different formats.</p>\n\n<p>So the bottom line relative to the question of choosing chm or html or whatever is that if you are using this you are not locked into a given format, but you can provide several among which the user can choose, and you can even add more formats as you go along, at no extra cost.</p>\n\n<p>If you just have one guide to create it won't be worth your while, but if you have a documentation set to manage then it is the best to my knowledge. Their support is very helpful also.</p>\n"}, {'answer_id': 109848, 'author': 'titanae', 'author_id': 2387, 'author_profile': 'https://Stackoverflow.com/users/2387', 'pm_score': 2, 'selected': False, 'text': '<p>It depends on how import the online documentation is to your product, a good documentation infrastructure can be complex to establish but once done it pays off. Here is how we do it -</p>\n\n<ul>\n<li>Help source <a href="http://en.wikipedia.org/wiki/Darwin_Information_Typing_Architecture" rel="nofollow noreferrer">DITA</a> compilant XML, stored in SCC (ClearCase).</li>\n<li>Help editing <a href="http://na.justsystems.com/content.php?page=xmetal" rel="nofollow noreferrer">XMetal</a></li>\n<li>Help compilation, customized <a href="http://dita-ot.sourceforge.net/" rel="nofollow noreferrer">Open DITA Toolkit</a>, with custom Perl/Java preprocessing</li>\n<li>Help source cross references applications resources at compile time, .RC files etc</li>\n<li>Help deliverables from single source, PDF, CHM, <a href="http://help.eclipse.org/ganymede/index.jsp" rel="nofollow noreferrer">Eclipse Help</a>, HTML.</li>\n<li>Single source repository produces help for multiple products 10+ with thousands of shared topics.</li>\n</ul>\n\n<p>From what you describe I would look at Eclipse Help, its not simple to integrate into .NET or MFC applications, you basically have to do the help mapping to resolve the request to a URL then fire the URL to Eclipse Help wrapper or a browser.</p>\n'}, {'answer_id': 324618, 'author': 'Michael Beck', 'author_id': 37510, 'author_profile': 'https://Stackoverflow.com/users/37510', 'pm_score': 2, 'selected': False, 'text': "<p>I think the solution we're going to end up going with for our application is hosting the help files ourselves.  This gives us immediate access to the files and the ability to keep them up to date.  </p>\n\n<p>What I plan is to have the content loaded into a huge series of XML files, each one containing help for a specific item.  This XML would contain links to other XML files.  We would use XSLT to display the contents as necessary.</p>\n\n<p>Depending on the licensing, we may build a client-specific XSLT file in order to tailor the look and feel to what they need.  We may need to be able to only show help for particular versions of our product as well and that can be done by filtering out stuff in the XSLT.</p>\n"}, {'answer_id': 1384548, 'author': 'Marco van de Voort', 'author_id': 99354, 'author_profile': 'https://Stackoverflow.com/users/99354', 'pm_score': 3, 'selected': False, 'text': '<p>I don\'t like the html option, and actually moved from plain HTML to CHM by compressing and indexing them. Even use them on a handful of non-Windows customers even.\nIt simply solved the constant little breakage of people putting it on the network (nesting depth limited, strange locking effects), antivirus that died in directories with 30000 html files, and 20 minutes decompression time while installing on an older system, browser safety zones and features, miscalculations of needed space in the installer etc.</p>\n\n<p>And then I don\'t even include the people that start "correcting" them, 3rd party product with faulty "integration" attempts etc, complaints about slowliness (browser start-up)</p>\n\n<p>We all had waited years for the problems to go away as OSes and hardware improved, but the problems kept recurring in a bedazzling number of varieties and enough was enough. We found chmlib, and decided we could forever use something based on this as escape with a simple external reader, if the OS provided ones stopped working and switched.</p>\n\n<p>Meanwhile we also have an own compiler, so we are MS free future-proof. That doesn\'t mean we never will change (solutions with local web-servers seem favourite nowadays), but at least we have a choice.</p>\n'}]
['https://Stackoverflow.com/questions/1131', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/91/']