简体   繁体   中英

how to open chm file using hyperlink

I am developing a web application in which I implemented the help.chm file.

My question is:

How to open the chm help file by using a hyperlink in my web application without a download dialog box?

Do you know what is, in fact, aCHM file ? It's a set of html files compiled in a big archive. So, the simplest solution to open those files without showing the "download dialog", is to not package your html files as chm, but to left them on your web site, and make classical static links to them.

You can't and you shouldn't. A chm is a file archive that requires a separate viewer, it isn't rendered directly inside the browser.

There are also security considerations with these files, so with certain versions of Windows you cannot open them from a remote (including network) location - they must be opened from the local machine (IIRC this is on WinXP SP2+, Vista and Win 7).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM