views:

27

answers:

2

Since 2005, when Microsoft prevented HtmlHelp functioning off a network share, e.g.:

\\appserver\tos\PointScanner.exe
\\appserver\tos\PointScanner.chm

What are we supposed to do instead?

(Given that the application is not installed locally.)


To rephrase: What is Microsoft's intended, supported, out-of-the-box, help solution?

+1  A: 

You can allow access via the Registry setting described here:

http://support.microsoft.com/kb/896054/

If you don't want to open any security vulnerabilities by modifying Registry settings your application could also create a local copy of the .chm file, e.g. in the users temp folder (%TMP%) and open the help from there. You can remove the file again when your application exits (in case you don't want to leave anything behind on the user's workstation)

0xA3
The registry key is in HKLM, which an application cannot change. Plus, i'd rather not have my application intentionally changing the behaviour of stuff besides chm files - opening up the user to security threats.
Ian Boyd
Then why not copy the help file to a local folder (e.g. %TMP%) and open it from there? You can remove the file again when your application exits (in case you don't want to leave anything behind on the user's workstation).
0xA3
That's a good suggestion, divo - i hadn't thought of that. You should put that in your answer so i can accept it.
Ian Boyd
Excellent, thanks for copying the comment to the answer. Accepted. It really seems like the ideal solution.
Ian Boyd
A: 

I started with the registry change mentioned by divo. Eventually I moved from network folder based chm files to actual "html help". This was easy for me since I use RoboHelp which can generate either format from the same source code.