Open pptx with aspose

I am trying to open a pptx file using aspose but I am getting an IndexOutOfRangeException. The details says "Index was outside the bounds of the array. When I try opening a ppt file it opens fine. I am using Aspose Slides 3.1.1.7

Dim aPres As Presentation

Dim aSlide As Slide

Dim fileName as String = txtPptPath.Text

aPres = New Presentation(fileName)

Hi,

Please download latest version of Aspose.Slides for .NET i.e 4.0.0.1 here. There is a separate namespace Aspose.Slides.Pptx with classes to work with PPTX files. PresentationEx class instead of Presentation is used to open PPTX files.

Thank you so much msabir, it worked, I got to open the pptx file