CHM file hosting in a website


  • hi

    i would like to host chm file in a website. it should display the content from website itself. it should not be downloaded. how to do it

    Friday, December 29, 2017 4:03 AM

All replies

  • Hi vasurendra,

    The short answer is NO, we couldn't host the chm file in the website. We could only provide a link to download it.

    As far as I know, the 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.

    Details, you could refer to this article.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Monday, January 1, 2018 5:33 AM
  • you are gonna need server side parsing to convert the file content to htm, IE does not support this file format natively. 

    If the files are yours, you can just convert the files yourself and serve the result html files instead. 

    Visual C++ MVP

    Tuesday, January 23, 2018 2:13 AM