Embed video in to power point using C#

C

Chris Calzaretta

I need to create the ability to create a power point on the fly. With in that
power point i need to embed a video. I need to do this in C#. Could somebody
please give me a little direction on how to embed a video. I can get the
power point to create but I can not get the video to embed.



Thanks

Chris
Email: (e-mail address removed)
 
J

Jean-Pierre Forestier [MVP[

Sorry the link I gave you was a response to the precedent post !!!
 
A

Austin Myers

Set clockMovie = ActivePresentation.Slides(1).Shapes _
.AddMediaObject(FileName:="C:\WINNT\clock.avi", _
Left:=20, Top:=20)
With clockMovie.AnimationSettings.PlaySettings
.PlayOnEntry = True
.PauseAnimation = False
.HideWhileNotPlaying = True
End With


Alter for C# as needed.



Austin Myers
AT&W Technologies

Creators of PowerPoint add-ins
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top