*
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 Murach's Java Servlets and JSP this week in the Servlets 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
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?
how to download entire sun/oracle java doc as PDF