CHM: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* The <tt>.chm</tt> file is on a network or remote drive. Try copy it on a local drive and open it from there |
* The <tt>.chm</tt> file is on a network or remote drive. Try copy it on a local drive and open it from there |
||
* The <tt>.chm</tt> file was downloaded from the Internet, and blocked by Windows. In Windows Explorer, right click on the file → ''Properties...'', then in the ''General'' pane → click on ''Unblock''. |
* The <tt>.chm</tt> file was downloaded from the Internet, and blocked by Windows. In Windows Explorer, right click on the file → ''Properties...'', then in the ''General'' pane → click on ''Unblock''. |
||
;CHM empty (blank) |
|||
* Import the following registry file [https://www.helpscribble.com/chmnetwork.html] [https://support.microsoft.com/en-us/help/896358/ms05-026-a-vulnerability-in-html-help-could-allow-remote-code-execution]: |
|||
<source lang=registry> |
|||
REGEDIT4 |
|||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp] |
|||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions] |
|||
"MaxAllowedZone"=dword:00000001 |
|||
</source> |
|||
== Viewing in Linux == |
== Viewing in Linux == |
Latest revision as of 08:59, 21 February 2017
CHM files are compressed HTML files, which are basically the format for help files in Windows.
Troubleshoot
- Navigation to webpage was canceled
- The .chm file is on a network or remote drive. Try copy it on a local drive and open it from there
- The .chm file was downloaded from the Internet, and blocked by Windows. In Windows Explorer, right click on the file → Properties..., then in the General pane → click on Unblock.
- CHM empty (blank)
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"MaxAllowedZone"=dword:00000001
Viewing in Linux
(list from [3]):
- gnochm
- Viewer on Gnome — deprecated
- kchmviewer
- Viewer for KDE — ugly, no full support of tabs, etc
- wine
- Use windows help file viewer under wine:
wine hh.exe helpfile.chm
- xChm
- A .chm file viewer that is independent of the graphical environment
- Firefox plugin - CHM Reader or ChmFox
- Ok, I admit it, this is the best viewer of all on Linux. Perfect rendering, fast.
- It also include a sidebar to navigate through the CHM Contents and Index, and we can navigate back and forth using mouse gestures.
- Actually even much better than the default reader, so even on Windows this is a better choice.
- Okular
- The pdf file viewer under kde, which can also show .chm files — not anymore ! Support has been removed
Otherwise a quick and dirty trick is to unpack the .chm file and to open up the index.html file.