aspose file tools*
The moose likes Beginning Java and the fly likes How to call a .chm file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to call a .chm file?" Watch "How to call a .chm file?" New topic
Author

How to call a .chm file?

Jherald Lacambra
Ranch Hand

Joined: Feb 02, 2005
Posts: 129
Is there any other way to open a file with a .chm extension?

I have use Runtime.getRuntime.exec command but it only opens a .exe file
[ February 02, 2005: Message edited by: Jherald Lacambra ]

jherald
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

.chm files are opened by "Microsoft� HTML Help Exe". You are not "running" the .chm file itself, your are running HTML Help Exe which opens and interprets the .chm file for you. That being said, .chm files are just compiled HTML. Decompiling them is easy; MS supply a tool to do just that (search MSDN). So you could decompile them and access them as plain text files.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
wood burning stoves
 
subject: How to call a .chm file?