how to open an application like word,excel,adobe indesign,xml using java
hi all,
i cant able to open some applications like word,excel,adobe indesign,xml through java.
and i used Runtime.getexec(); code but here when we run the program the application is automatically opening. i dont need to open on execution of the program. and also at the same time i want to close the application through java program. if anybody knows the solution pls send the code.
hidash_in
Junior Poster in Training
86 posts since Oct 2007
Reputation Points: 1
Solved Threads: 0
I'm sorry hidash_in but this is the second time you've posted this question and I'm still not sure what you are trying to do. Do you mean that you want a program written in java that opens another application (like word) and then quit the original java program? If that's the case then I don't really understand the point...
darkagn
Veteran Poster
1,197 posts since Aug 2007
Reputation Points: 404
Solved Threads: 200
ya,
i am working in java platform. i want to open any application through java program.is there any java code for do this. tell the solution for this query pls.
hidash_in
Junior Poster in Training
86 posts since Oct 2007
Reputation Points: 1
Solved Threads: 0
If your using Java 6 look at the Class Desktop. (As long as you are not still attempting to start an application on the server in a Servlet/JSP and get it to appear on the client, you've been told often enought that that won't work.)
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
thanks masijade,
but i need the clear solution, pls say can i open any application file through java for read and write. tell me a clear solution.
hidash_in
Junior Poster in Training
86 posts since Oct 2007
Reputation Points: 1
Solved Threads: 0
Well read the API doc for the class I told you, then you tell me. God, that doc spells it out pretty clearly. Take two minutes of your own time to read the docs (rather than hours of your time and mine posting questions that you can easily answer yourself with two minutes time, especially when you are pointed directly to what you need).
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
This is a completely new topic. Start a new thread and stop resurrecting dead ones. As a hint, Google "POI HSSF/XSSF" and/or "Andy Khan jxl".
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494