Log in

View Full Version : How to make an html file from chm (help) file?


ddavtian
01-30-2004, 06:33 PM
Hi all.

I have few big "chm" files (help files, encyclopedias etc.) that I'd like to have on my ipaq.
Is there a way to make an html file from these? Then I could put in a iSilo format.

Thanks in advance,
David

Jorgen
01-30-2004, 08:07 PM
Execute www.google.com and search for "decompress chm" (without the quotes) and you will find a vouple of ways. I have not tried any of them but would like to hear about your experiences here.

Jorgen

Jorgen
01-30-2004, 08:15 PM
Your best bet seems to be Pocket-CHM from http://www.fs3000.com

Jorgen

asok007
01-30-2004, 09:22 PM
Microsoft's HTML Help Workshop (the tool for creating .chm files) also allows you to decompress them. One problem you may run into is that .chm files are made up of many (often poorly named) html files, so once you decompress them, it may be tough to get them combined back together.

One thing to do is to write a program to walk the .hhc (table of contents file) and combine the separate files into one large html file. The .hhc is actually an object tag heavy .html file, so it's easy to get through.

Another option I've used in the past is to use a product called chm2pdf (http://www.colorpilot.com/chm2pdf.html) to spit the .chm file out as a .pdf file. I then take the .pdf file and print it to RepliGo and then use RepliGo to read the file on my PocketPC.

bsr

ddavtian
01-30-2004, 11:03 PM
Pocket-CHM did the job.
Thanks a lot, guys.

Now I have my files in isilo.

Talyn
02-13-2004, 03:55 PM
If you're simply wanting to decompile a CHM there is actually no need to download anything else; the HTML Help executable can do it from a command prompt:

hh.exe -decompile <folder> <chm>

Where <folder> is the destination folder you want the source files copied to, and <chm> is the source CHM file.