This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to call a .chm file?
 
Similar Threads
how to download entire sun/oracle java doc as PDF
is there a way to open .chm file
.chm file
how to open a .chm file
how to open a *.chm file in swt&jface?