Windows XP Pro: HTMLHelp files that don't want to be viewed
-
Hello all, Some times, when we need documentation, we use HTML help files that we download directly from our providers. When we download those files we cannot see them if we don't place them in our hard disk. It seems that if we have them on our hard disk we can right click them and select unlock in order to be able to see them, but when they are outside from our hard disk (i.e. our linux server) we cannot do that, and we can see the tree view on the left side, but we cannot see any of the contents. Any idea on how to solve that? Thank you in advance.
-
Hello all, Some times, when we need documentation, we use HTML help files that we download directly from our providers. When we download those files we cannot see them if we don't place them in our hard disk. It seems that if we have them on our hard disk we can right click them and select unlock in order to be able to see them, but when they are outside from our hard disk (i.e. our linux server) we cannot do that, and we can see the tree view on the left side, but we cannot see any of the contents. Any idea on how to solve that? Thank you in advance.
That is a "security feature" from Microsoft. There was a security issue with HTML help, as described in this article MS05-026[^]. But there is a work-around for it. I had to write some docs for a project we're working on, in HTML Help format, and the help file was to be put on a network server for all to read. The solution involves editing registry keys, to allow the reader's system to open the file. Note that this solution actually degrades the security of your network. Anyhow, here's the sum up: In a .reg file:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions]
"MaxAllowedZone"=dword:00000000
"UrlAllowList"="<network path to CHM file(s)>"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"MaxAllowedZone"=dword:00000000
"UrlAllowList"="<network path to CHM file(s)>"And by network path I mean the whole qualified path, without the file name itself. For example: \\SERVER\HELPDIR Note also that you'd have to escape the backslash character, so the above path would become: \\\\SERVER\\HELPDIR One catch... you'd have to apply this .reg file on every system that wants to access the help file(s).
-- Bad mouse!
-
Hello all, Some times, when we need documentation, we use HTML help files that we download directly from our providers. When we download those files we cannot see them if we don't place them in our hard disk. It seems that if we have them on our hard disk we can right click them and select unlock in order to be able to see them, but when they are outside from our hard disk (i.e. our linux server) we cannot do that, and we can see the tree view on the left side, but we cannot see any of the contents. Any idea on how to solve that? Thank you in advance.
Access to help files was tightened up in SP2 so you might be getting bitten by that. Check out the links here[^].
0 bottles of beer on the wall, 0 bottles of beer, you take 1 down, pass it around, 4294967295 bottles of beer on the wall. Awasu 2.2.4 [^]: A free RSS/Atom feed reader with support for Code Project.