jump to navigation

# and chm files…whats the relation ? March 21, 2008

Posted by razasayed in Hacks.
Tags:
trackback

Some time back i was facing a problem opening windows help files a.k.a. chm files on my XP box . Actually, chm files make use of Internet Explorer for displaying their content, so i checked all the settings in IE but ultimately was at my wits end and was not able to figure out what was going wrong .

After googling on it for sometime i came across some info , which finally helped me solve the problem . It was a strange revelation that if the chm files are placed in a folder which contains the character # in its name , then the chm files wont display their content.

Actually, the chm files on my machine were some docs related to the c# programming language and were placed in a folder that contained the word c# in its name. I renamed the folder by replacing the character # with the word ‘sharp’, and voila, the chm file contents were now visible ๐Ÿ™‚ .

For the coders amongst you, the reason is that the # character signifies an anchor in html so the chm file is getting a bit confused as to where to look for the content.ย  I dont know whether this is officially documented by Microsoft or not , however the moral of the story is never have a # character in the name of a folder that contains chm files. Hope this saves you a lot of trouble in case you run into the same problem.
Alright then, till the next post,

Adios and Happy Hacking ! ๐Ÿ™‚

Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: