I'm trying to retrieve the Ole Objects from PresentationEx:
foreach (SlideEx slide in presentation.Slides)
foreach (ShapeEx shape in slide.Shapes)
if (shape is OleObjectFrameEx)
var oleFrame = (OleObjectFrameEx)shape;
This Fails for some type of attachments like pdf, or xlsx.
The same code works fine when working wit Presentation.
Is it a bug, or did I something wrong?
Thanks and Regards