Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pasting to PowerPoint
Message
From
25/10/2006 12:22:22
 
 
To
25/10/2006 05:47:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01164287
Message ID:
01164447
Views:
11
UPDATE:

I have managed to create slides and paste content into each one correctly using slides.add, slides.select, and then ActiveWindow.View.Paste. This is great. Question - is it correct that PowerPoint will only allow selecting slides and pasting content if the main PowerPoint application is visible? I get an error if Visisble=.f. and it works when Visible=.t. Am I missing something or is this correct?



>Me again ...
>
>I am trying to paste various content, some images and some text, into a PowerPoint presentation using automation. I can create the PowerPoint object and add a new slide to it. However, when I try to paste the image on the clipboard using oPPT_Doc.Slides.Paste I get an OLE error saying the clipboard is empty or not a valid type. However, if I go to PowerPoint and press CTRL+V then the image pastes properly without a hitch. How can I paste clipboard contents onto the current slide?
>
>Thanks.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform