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

Free Support Forum - aspose.com

Convert .ppt to .pptx format

How do I convert an existing .ppt format presentation to .pptx format?

Using version 14.7 I have tried this:
Dim pres1 As New Aspose.Slides.Presentation()
pres1 = New Presentation(filename, loadopts)
Dim saveoptsfactory As New Aspose.Slides.Export.SaveOptionsFactory()
Dim pptxopts As Aspose.Slides.Export.PptxOptions = saveoptsfactory.CreatePptxOptions()
pres1.Save(temppptx, Export.SaveFormat.Pptx, pptxopts)

but the resulting .pptx document is corrupt and cannot be opened by PowerPoint.

Thank you.

Hi Jeff,

Please use the following sample code and in case you still face any issue, please share the input and output file with us for further investigation of the issue.

'Instantiate a Presentation object that represents a PPTX file
Using Dim pres As Presentation = New Presentation(“Aspose.ppt”)

'Saving the presentation to PPTX format

End Using

Thanks & Regards,

The issue may be specific to .ppt documents created by OpenOffice. If I use your method to open and convert a .ppt presentation created using PowerPoint the output .pptx version is good and opens in PowerPoint. When I open a .ppt created by OpenOffice and save it as .pptx, PowerPoint cannot open the resulting file.

The input and output files are attached.

Thank you.

Hi Jeff,

Thank you for sharing the files.

I have checked your issue with the latest version of Aspose.Slides for .NET v14.8.0 and I am unable to reproduce your mentioned issue using your file. Please download and try the latest version and if you still face any issue, please share your system environment details i.e. OS, .NET Framework, MS PowerPoint version etc. We will further test the issue and will get back to you.

Thanks & Regards,

Yes, the ppt to pptx conversion issue is resolved using Slides version 14.8

Thank youi.