如何在Web浏览器中查看CHM文件?

huangapple go评论81阅读模式
英文:

How to view chm file in a web browser?

问题

我有一个在HelpNDoc应用程序中创建的CHM文件。

现在,在我创建的浏览器页面中,我有一个导航中的帮助选项。当我点击这个帮助选项时,我希望CHM文件显示在浏览器中。

我该如何做到这一点?

英文:

I have a CHM file created in HelpNDoc application.

Now in a browser page that I created I have a help option in navigation. When I click this help option I want the CHM file to show in the browser.

How can I do this?

答案1

得分: 1

你需要将文档保存为所谓的基于Web的帮助文件,然后上传到你的Web服务器上。HelpNDoc项目可以导出为CHM格式的帮助文件,也可以导出为网站。

从主菜单中使用:

  • 主页 > 生成帮助 > HTML文档

HTML帮助1.x(CHM)不具备通过http传送压缩帮助的能力。你可以指向用户本地驱动器上的.chm文件,并且可以链接到.chm文件以供下载,但这就是其能做的。你可能想要将*.chm文件压缩成ZIP文件以供下载。

请注意,专有的CHM文件格式通常由Microsoft HH Workshop(hhw.exe)生成。它已经存在了25年,最初是随IE4和Windows 95一起发布的。CHM帮助文件格式与Windows操作系统深度集成,并且已经过时。

查看ITS(CHM)文件的能力是仅限于旧版Microsoft Internet Explorer的独特功能。只有IE能够加载本地路径。

英文:

You'll need to save your docs as a so called web-based help and upload to your web server. HelpNDoc projects can be exported to help files like CHM and as a web site too.

From the main menu use:

  • Home > Generate help > HTML documentation

HTML Help 1.x (CHM) does not have the capability of delivering compressed help over http. You can point to a .chm on the user's local drive, and you can link to a .chm for download, but that's as far as it goes. You may want to zip your *.chm files for download.

Please note that the proprietary CHM file format is normally generated by Micosoft HH Workshop (hhw.exe). It’s 25 years old und was first shipped with IE4 and Windows 95. The CHM help file format is deep integrated to the Windows operating system and outdated.

The ability to look inside an ITS (CHM) file is something unique to the old Microsoft Internet Explorer only. Only IE could load a locally path.

huangapple
  • 本文由 发表于 2023年6月13日 18:11:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/76463828.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定