7/23/2023 0 Comments Cant read chm help file![]() ![]() You can also use a Powershell command to do this (on Windows 10): PS> unblock-file -Path '.\westwindwebtoolkit.chm' Click the Unblock button on the General tabĬlicking the Unblock button basically, tells Windows that you approve this Help File and allows topics to be viewed.There's a workaround that lets you explicitly 'unblock' a CHM help file. Unfortunately, unlike Internet Explorer where you have the option of clicking a security toolbar, the CHM viewer simply refuses to load the page and you get an error page as shown above. Although the URL looks weird this still equates to a call to the local computer zone, the same as if you had navigated to a local file in IE which by default is not allowed. Try pasting a URL like this into Internet Explorer and you'll see the help topic pop up in your browser (along with a warning most likely). If you look at the URL of a help topic you see something like this: points at a special Microsoft Url Moniker that in turn points the CHM file and a relative path within that HTML help file. The reason this happens is because files downloaded off the Internet - including ZIP files and CHM files contained in those zip files - are marked as as coming from the Internet and so can potentially be malicious, so do not get browsing rights on the local machine – they can’t access local Web content, which is exactly what help topics are. Looks like a broken help file, right? But it's not - it's merely a Windows security 'feature' that tries to be overly helpful in protecting you. The CHM file obviously opened since the topic list is there, but the Help Viewer refuses to display the content. The help file comes up with all topics in the tree on the left, but a Navigation to the WebPage was cancelled or Operation Aborted error in the Help Viewer's content window whenever you try to open a topic. She then opens the help file and finds the following unfortunate result: The customer downloads the file, opens the zip file and copies the help file contained in the zip file to disk. Or alternately you've created a help file and you let your customers download them off the Internet directly or in a zip file. Here’s the scenario: You go ahead and happily build your fancy, schmanzy Help File for your application and deploy it to your customer. Here it helps to rename the folder(s) or to move the file.As a publisher of a Help Creation tool called Html Help Help Builder, I’ve seen a lot of problems with help files that won't properly display actual topic content and displays an error message for topics instead. This is caused by certain characters in the folder path, e.g. Then the CHM file is opened normally, but instead of the content only a “No access to page” appears. To use the file after the download, go to the properties of the file and activate the sub-item “Allow”:Īnother problem occurs when the file is in the wrong path. The user can unpack it after the download and use the CHM file normally. If you want to offer CHM files for download yourself, you should offer them as ZIP archives. A message appears when the CHM file is started.ĭespite confirmation of the message, the content remains white. The problem may also occur if the CHM file was downloaded from the Internet. CHM file was downloaded from the Internet ![]() Now create a DWORD value with the name MaxAllowedZone Value 1.Īs soon as the key exists, CHM files can also be used from the network drive. For this you create a key with the name ItssRestrictions in the registry under Computer\HKEY_LOCAL_MACHINE_SOFTWARE\Microsoft\HTMLHelp\1.x\. In order to be able to use CHM files from the network, an intervention in the registry is necessary. The solution is simple: copy the CHM file to your local hard drive and open it from there. If you open the CHM file from a network drive, it is displayed as shown in the screenshot. This is due to Windows security settings or a “wrong” location. The navigation tree with the contents is displayed, but the main view is not visible. ![]() What to do if CHM files are not displayed correctly in Windows? Common causes of display errors.Īn erroneous representation usually expresses itself in this way: ![]()
0 Comments
Leave a Reply. |