944,030 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 5320
  • Java RSS
Dec 5th, 2007
0

how to open an application like word,excel,adobe indesign,xml using java

Expand Post »
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.
Reputation Points: 1
Solved Threads: 0
Junior Poster in Training
hidash_in is offline Offline
85 posts
since Oct 2007
Dec 5th, 2007
0

Re: how to open an application like word,excel,adobe indesign,xml using java

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...
Reputation Points: 395
Solved Threads: 192
Veteran Poster
darkagn is offline Offline
1,136 posts
since Aug 2007
Dec 5th, 2007
0

Re: how to open an application like word,excel,adobe indesign,xml using java

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.
Reputation Points: 1
Solved Threads: 0
Junior Poster in Training
hidash_in is offline Offline
85 posts
since Oct 2007
Dec 5th, 2007
0

Re: how to open an application like word,excel,adobe indesign,xml using java

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.)
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Dec 5th, 2007
0

Re: how to open an application like word,excel,adobe indesign,xml using java

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.
Reputation Points: 1
Solved Threads: 0
Junior Poster in Training
hidash_in is offline Offline
85 posts
since Oct 2007
Dec 5th, 2007
0

Re: how to open an application like word,excel,adobe indesign,xml using java

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).
Last edited by masijade; Dec 5th, 2007 at 10:28 am.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Dec 6th, 2007
0

Re: how to open an application like word,excel,adobe indesign,xml using java

maybe just open a url to the file and assume that the user's machine has the file type assigned to that particular document type. I mean, if I push a .doc file to a windows user, it will probably open with word - yes?

Note: if the doc comes from an applet, then there may be sandbox issues requiring signing the applet etc.
hav
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hav is offline Offline
3 posts
since Dec 2007
Apr 26th, 2010
0

How can i connect excl with java and get some value from .xls file use them in java

Pls help me
Reputation Points: 10
Solved Threads: 0
Newbie Poster
deep.bwn is offline Offline
4 posts
since Apr 2010
Apr 26th, 2010
0
Re: how to open an application like word,excel,adobe indesign,xml using java
A .xls file contain many columns .but i need to use some of them as a input in my java program how can i do then
Reputation Points: 10
Solved Threads: 0
Newbie Poster
deep.bwn is offline Offline
4 posts
since Apr 2010
Apr 26th, 2010
0
Re: how to open an application like word,excel,adobe indesign,xml using java
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".
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in Java Forum Timeline: Airline
Next Thread in Java Forum Timeline: java.lang.NoClassDefFoundError: com/sun/mail/util/SharedByteArrayInputStream





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC