473,503 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Animation Flash/Powerpoint from java

Hello,

I'd like to launch a Flash ou Powerpoint animation from my java
application but I do not know where to start. Does anyone know ?

Thx

PS : My application only has to work on Windows.

Thierry
Jul 17 '05 #1
2 3653
Hi,

If you need to embed the Flash or Powerpoint in your application
then I dont know if there is a way to do it but If you need
the user to click a button and the powerpoint to open then
just use this command.

Runtime.getRuntime().exec("your powerpoint path here");

Hope that helps

Petros

Thierry wrote:
Hello,

I'd like to launch a Flash ou Powerpoint animation from my java
application but I do not know where to start. Does anyone know ?

Thx

PS : My application only has to work on Windows.

Thierry

Jul 17 '05 #2
Petros Petrou wrote:
Hi,

If you need to embed the Flash or Powerpoint in your application
then I dont know if there is a way to do it but If you need
the user to click a button and the powerpoint to open then
just use this command.

Runtime.getRuntime().exec("your powerpoint path here");


I have done :

public class Test {
public static void main(String[] args) {
System.out.println("Test");
try {
Runtime.getRuntime().exec("D:/eb/temp/exemple/tesTHIERY.pps");
} catch (Exception e) {
e.printStackTrace();
}
System.out.println("Test");
}
}

And I get :

Test
java.io.IOException: CreateProcess: D:\eb\temp\exemple\tesTHIERY.pps
error=193
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java :451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:429)
at java.lang.Runtime.exec(Runtime.java:326)
Test
at com.musidy.test.Test.main(Test.java:19)
Any help would be welcome.
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
7172
by: Sura | last post by:
Hi I have designed a simple DHTML menu which comes over a flash animation when it appears. I have set the window mode as transparent in the flash project. This menu is showing fine when seen...
4
2765
by: petermichaux | last post by:
Hi, Is there any way to make DOM scripted animation smoother? Flash is far superior in this area. Any one here know what makes Flash so smooth by comparison? I don't like the fact that the...
2
2136
by: vision58 | last post by:
Can you create an animation in powerpoint? I know you can export it as a gif file, but can it be animated?
1
2032
by: vision58 | last post by:
Hi there, I know you can extract a powerpoint document as a GIF file, but can you have it working as an animation outside of powerpoint?
0
2968
by: psaffrey | last post by:
Hi there, I'd like to embed an SVG animation into a powerpoint document. I've tried the instructions given here: http://www.indezine.com/products/powerpoint/ppsvg.html but I get the Visual...
3
8083
by: WPeterson | last post by:
Converting PowerPoint to Flash would absolutely be a good choice to distribute your bulky PowerPoint presentations. You can do the whole PowerPoint to Flash conversion manually or with...
0
4206
by: sambrena | last post by:
Still rush about cities to take part in a conference? Although you know that travelling around the world for business meetings is a good way to meet and know your business partners, you have to...
0
7207
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7291
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7012
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1522
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
402
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.