Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

automating powerpoint using the jni

843829Apr 20 2004 — edited Apr 21 2004
Hello all. A project I'm working on right now requires me to take an xml file and turn it into a powerpoint slide or slides. At the moment right now, I'm creating powerpoint slides using c++ and mfc. The program that has the xml to be parsed into .ppt is in java. I've tried using the jni to automate powerpoint, but it doesn't work. I get an error that says can't start powerpoint and get the application object. I don't have any code to post right now because my code is elsewhere.

Does anyone have any examples of office automation using the jni or some thoughts on the situation? If I can get the jni to automate, I should be able to handle the rest of my project with no probs, it's just that I'm having problems with the automation using the jni. It works in my c++ app. Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 19 2004
Added on Apr 20 2004
2 comments
245 views