2 Replies Latest reply: Mar 4, 2007 7:47 AM by 807606 RSS

    open CHM file

    807606
      hi2all
      I want to open .chm file when i click on help menu. I had already tried
      Runtime.getRuntime().load("C:/html/help.chm");
      but this throw an exception that "C:/html/help.chm" is not a win32 application.
        • 1. Re: open CHM file
          807606
          Hi,

          Try using this api

          http://aurigadoc.sourceforge.net/

          not used much but u may find some solution there.

          Thanks.
          • 2. Re: open CHM file
            807606
            If you are using java 1.6, use can simply use it's new desktop integration to open any file with an associated application... If you are using older java, download and use jdic library...

            it's

            desktop.open(file);

            where desktop is a java.awt.Desktop (or org.jdesktop.jdic.desktop.Desktop) object... that simple... :)

            Message was edited by:
            VeggenSkrik