Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need help automating MS Powerpoint
Message
From
22/07/2000 20:28:53
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00395877
Message ID:
00395926
Views:
8
Mark,

Go into PowerPoint. Start a macro. Do what you want - create the presentation and create a couple of the slides with the images on them. Stop the macro. Go into the VBA editor and look at the macro that you created. You will be able to copy most of that code directly into VFP.

Also, there is a book about Office Automation by Tamar Granor, Della Martin, and Ted Roche.


>Here's what I need to do: I have a database of jpeg images. Actually the database contains file references that point to the jpeg files. Given a set of image file names that have been culled from the database, I need to automate powerpoint and have it create a presentation, one image per slide, one caption per slide. That's it. No rocket science.
>
>I'm running into a wall trying to automate Powerpoint (or Word, or Excel) from VFP because all those predefined constants like ppLayoutBlank and ppLayoutChart are not defined for VFP. So being able to instantiate a Powerpoint automation server does me no good.
>
>Can anybody with experience in automating any of the MS Office apps from VFP point me to those elusive pieces of documentation that make the task possible from within VFP?
>
>Thanks very much for your help.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform