aspose file tools*
The moose likes Java in General and the fly likes invoking ms excel from app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "invoking ms excel from app" Watch "invoking ms excel from app" New topic
Author

invoking ms excel from app

shilpa reddy
Greenhorn

Joined: Dec 12, 2000
Posts: 29
Hey,
I would like to invoke an app, for example ms excel from my java app in my actionListener. Any ideas on how to do this.
Thanks in advance,
Shilpa Reddy
Ashutosh Uprety
Ranch Hand

Joined: Nov 30, 2000
Posts: 39
This will serve ur purpose. Put any other exe in place of notepad. It will work too.
public class Exe {
public static void main(String[] args) {
try {
Runtime r = Runtime.getRuntime();
Process p = r.exec("Notepad");
}
catch(Exception e){
System.out.println(e);
}
}
}
Ashu
shilpa reddy
Greenhorn

Joined: Dec 12, 2000
Posts: 29
Thanks ashu
Shilpa.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: invoking ms excel from app
 
Similar Threads
Need to use ActiveX components in my Java Application...
IE file save as
JSP/Servlet With MS Excel?
how to detect MS excel using servlet?
Is it possible to have mutiple font colors in a single cell in Excel using POI API.