automating powerpoint using the jni
843829Apr 20 2004 — edited Apr 21 2004Hello 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.