This project has moved. For the latest updates, please go here.

How to check for corrupt presentations/invalid files?

Dec 27, 2013 at 4:10 PM
Hi,

I'm writing a small utility with NetOffice that works with PowerPoint presentations. My question is, is there any way I can check if the presentation opened with
PowerPoint.Application.Presentations.Open()
is a valid presentation? I mean, other than just try-catching.
AFAIK the VSTO version of this function returns null if the presentation is not valid (invalid file, corrupt presentation) but NetOffice throws an exception when
Presentation.SlideShowSettings.Run()
is used.
Thanks for your help.

Léster