Having created a new Presentation object using an existing .PPT file i.e. presSource = New Presentation(strTempFilename) we then need to be able to delete this presentation accordingly:
If System.IO.File.Exists(strTempFilename) = True Then
System.IO.File.Delete(strTempFilename)
End If
When attempting to delete the file however, the following exception is encountered: "The process cannot access the file "filename.ppt" because it is being used by another process."
Please would you advise on how the Aspose Presentation object can release the handle to the file to enable to deletion to work? I have tried setting the Presentation object to Nothing (null) prior to issuing the delete to no avail.
Thanks in advance,
Allan Ashton (aashton@uk.ey.com)