Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-27-2007, 05:20 PM
Member
 
Join Date: Nov 2007
Posts: 6
roo7 is on a distinguished road
runtime method
Hi everyone,


How I can use runtime method to call powerpoint(slidshow) to run it in the java programs??!!



thanks.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-28-2007, 05:31 AM
Senior Member
 
Join Date: Nov 2007
Location: Newport, WA
Posts: 141
staykovmarin is on a distinguished road
You can just execute the exe which is in the Power Point folder (wherever you have ppt installed). Here is a list of options that you can run with it: Command Line Switches - PowerPoint and PowerPoint Viewers
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 11-28-2007, 06:51 AM
Member
 
Join Date: Nov 2007
Posts: 18
sandeepkk2005 is on a distinguished road
Runtime.getRuntime.exec("cmd /c start yourpp.pps");
Or
Runtime.getRuntime.exec("cmd /c start file:/yourpp.pps");
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 11-28-2007, 06:52 AM
Member
 
Join Date: Nov 2007
Posts: 18
sandeepkk2005 is on a distinguished road
This works fine for opening any files like exe, xml, xls, doc etc.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 11-29-2007, 04:03 PM
Member
 
Join Date: Nov 2007
Posts: 6
roo7 is on a distinguished road
Thank you very much.
*.*
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 11-30-2007, 06:35 AM
Member
 
Join Date: Nov 2007
Posts: 18
sandeepkk2005 is on a distinguished road
You are welcome
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin Runtime Page JavaForums Java Blogs 0 01-28-2008 02:00 PM
Example of RunTime class Java Tip Java Tips 0 01-04-2008 11:32 AM
Runtime Exceptions Java Tip Java Tips 0 11-12-2007 12:31 PM
Nuxeo Runtime 1.3.1 JavaBean Java Announcements 0 08-10-2007 06:45 PM
Nuxeo Runtime 1.2 JavaBean Java Announcements 0 06-22-2007 08:01 PM


All times are GMT +3. The time now is 10:35 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org