We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Create PPT object error

I try to create a Presentation object (Aspose version 2.9.2.0) but receive the following error:
ex {“Invalid header signature; read 1688935826934608, expected
16220472316735377360”} System.Exception
This is the code that I used:
Dim pptDoc As Presentation
Try
pptDoc = New Presentation(fullpath)
Catch ex As Exception
Return False
End Try

The power point presentation file is MS 2007 Power Point.

The Aspose.slide presentation works with prior version of MS Power Point. Does Aspose slide work with MS 2007 Power Point?

I read an earlier post that the signauture problem was fixed on earlier version of Aspose 2.9.2.0. Thanks for your help.


For PPTX (MS-PowerPoint 2007) format presentations, you should use PresentationEx not Presentation class

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Also include the namespace Aspose.Slides.Pptx