I tried to do this with the next code:
using Microsoft.Office.Core; using PowerPoint = Microsoft.Office.Interop.PowerPoint; using System.IO; using Microsoft
Try
while (oPres.CreateVideoStatus == PpMediaTaskStatus.ppMediaTaskStatusInProgress) { Thread.Sleep(100); }