Here is a simple demo for this:
do not forget to add a link to the PowerPoint COM API (Microsoft PowerPoint Object Library 12.0).
using PowerPoint = Microsoft.Office.Interop.PowerPoint; using Office = Microsoft.Office.Core;
then you can get a movie path like this
private void button1_Click(object sender, EventArgs e) { PowerPoint.Application app = new PowerPoint.Application(); app.Visible = Office.MsoTriState.msoTrue;
Hope this helps.
[Edit:]
regarding Steve's comment, if you want only embedded movies, you just need to unzip the .pptx file, like any other zip file (for example, using DotNetZip), and look for embedded videos along this way ([PowerPoint_fileName] \ ppt \ media)
Issam ali
source share