Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: how to open .chm?
|
Posted: Feb 1, 2004 11:06 AM
|
|
I haven't tried what you have above, but I'm guessing that if you are doing from a GUI, then you will see a DOS box pop up every time you click that help button, which is a little cheesy. If you can live with that, fine.
If not, then you could write a little JNI class that calls WinExec() (or ShellExecute() or CreateProcess(), etc.) to run c:\windows\hh.exe (the app that is associated with the chm extension and which is automatically launched from the above stuff).
|
|