Free Support Forum - aspose.com

Deleting a file if New Presentaion has failed?

Hi, I am using Aspose Slides to identify which PPT files users are attempting to upload whihc are Office 97 or before.

These old files cause an error when atempting to open them

I'm using vb.net here is the code

TRY

Dim pres As Presentation = New Presentation("MyFile.ptt")

CATCH EX AS EXCEPTION

file.delete("MyFile.ppt")

END TRY

The file has errored because its a out of date ppt, but I cant delete it because Aspose is locking it.

H ow do I unlock the file so I can delete it?

Alternativly,

How do I attempt identify if my ppt is old version?

Thanks

Ross
This message was posted using Page2Forum from Know Issues - Aspose.Slides for .NET and Java

Dear Ross,

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

Aspose.Slides does not support Office 97 and older format. Further, there is no way to check version of ppt files.

The locking issue has been resolved in latest versions of Aspose.Slides e.g 2.8.5.0.