英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论