Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to call a .chm file?

 
Jherald Lacambra
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
.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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic