I want to open a CHM (help) file from my java application... My code looks like this:
Runtime.getRuntime().exec("hh.exe myhelpfile.chm");
It works, but how can I open it with a specific page??
Thanks, Tom
I want to open a CHM (help) file from my java application... My code looks like this:
Runtime.getRuntime().exec("hh.exe myhelpfile.chm");
It works, but how can I open it with a specific page??
Thanks, Tom
Try this,
Is it possible to open a specific topic from the Hh.exe command line?
String s;
Process p;
try {
p = Runtime.getRuntime().exec("chmsee sample.chm");
BufferedReader br = new BufferedReader(
new InputStreamReader(p.getInputStream()));
p.waitFor();
System.out.println("exit: " + p.exitValue());
p.destroy();
} catch (Exception e) {
}