Sometimes a developer makes a mistake and introduces a bug in the pptx, this corrupts the PowerPoint, but you only find out when you open the pptx.
When you open it you get this message:
PowerPoint found a problem with content in C:\....\pptxname.pptx.
PowerPoint can attempt to repair the presentation.
If you trust the source of this presentation, click Repair.
Repair, Cancel.
Is there a way to check via code if the PowerPoint is corrupt or not.