Friday, June 08, 2007

can not open chm file

Hi all I faced the problem which does not show the contant of the chm files. i search though the web and found the following content. I took it from http://www.nik.com.au/archives/2005/04/06/chm-help-files-error-the-page-cannot-be-displayed/#comment-307582

CHM problem

I just had a very weird problem in Windows XP with CHM help files (Compiled HTML). A CHM file is the Microsoft preferred format for help files within applications, and in my case I had many books in CHM format and I was surprised that after some housekeeping that none of the CHM files in a certain directory would open, and they would give a “The page cannot be displayed�? error while showing the contents in the left-hand pane.

After some fiddling around and searching online to no avail (Microsoft identified the problem but offered no solution) I found out that the reason for the problem was because there was a hash (#) in my file path. The files that were not working were in a folder called ‘c#’ and the hash in the directory name was causing problems. The problem arises when there is a hash in any part of the directory path to the CHM file. The problems seems to arise because the hash character signifies an anchor in HTML so the CHM file is getting a bit confused as to where to look for the content.
Share This