Chinaunix首页 | 论坛 | 博客
  • 博客访问: 714246
  • 博文数量: 67
  • 博客积分: 3148
  • 博客等级: 中校
  • 技术积分: 1084
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-10 14:33
文章分类

全部博文(67)

文章存档

2013年(2)

2012年(11)

2011年(33)

2010年(21)

我的朋友

分类: WINDOWS

2011-10-27 09:49:56

You are trying to open a CHM file but get a message like "Navigation to the webpage was canceled" or "This program cannot display the webpage" instead of the topic content. Here are the reasons why that can happen:

1. HTML Help (CHM) Viewer Component Is Not Registered

Type in the following to your command prompt: "regsvr32 hhctrl.ocx". After getting the success message like "DllRegisterServer in hhctrl.ocx succeeded", try to open your CHM file again.

2. Your CHM File Has the "#" Hash Character in the Filename or in the Directory Name.

Hash (#) is a registered character which is used for hyperlinks. This character can not be used (as well as "?","&" and "+" characters. All those have special meaning. Try to remove all hashes and other special characters from the file and directory name.

3. Your CHM is Blocked by a Security Update for Windows XP or Vista

Since CHM consists of compiled HTML files, it can contain harmful scripts. That is why Windows security updates may block its content.

To unblock a trusted CHM file:

  1. Right click your CHM file and select "Properties" on the popup menu.
  2. On the "General" tab, click the "Unblock" button.
  3. Then click "OK".

4. Your CHM File is in a Restricted Internet Zone

Your CHM file may be located on a network computer, network drive, that exists in a restricted zone. The problem can also occur if you are trying to run it directly from an unknown website.

You can simply copy the CHM file to your local hard drive. Alternatively, you can modify the ItssRestrictions settings in the Windows Registry.

To do so:

  1. Run Regedit.
  2. Open or create (if it does not exists) the key: HKLM\Software\Microsoft\HTMLHelp\1.x\ItssRestrictions.
  3. Add a new DWORD subkey named MaxAllowedZone and set one of the following values there: 0 - My Computer, 1 - Local Intranet, 2 - Trusted Sites, 3 - Internet Zone, 4 - Restricted Zone

原文:

阅读(2293) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~