代码如下: 
private bool PPTConvertToPDF(string sourcePath, string targetPath)
        {
            bool result;
            PowerPoint.PpSaveAsFileType targetFileType = PowerPoint.PpSaveAsFileType.ppSaveAsPDF;
            object missing = Type.Missing;
            PowerPoint.ApplicationClass application = null;
            PowerPoint.Presentation persentation = null;
            //application.Visible = true;
            try
            {
                application = new PowerPoint.ApplicationClass();
                persentation = application.Presentations.Open(sourcePath, MsoTriState.msoFalse , MsoTriState.msoFalse, MsoTriState.msoTrue);
                persentation.SaveAs(targetPath, targetFileType, MsoTriState.msoTrue);                result = true;
            }出错地方:
     persentation = application.Presentations.Open(sourcePath, MsoTriState.msoFalse , MsoTriState.msoFalse, MsoTriState.msoTrue);错误原因:
     Presentations (unknown member) : Invalid request.  The PowerPoint Frame window does not exist.怎么解决!c#powerpointPdf