I need to save PowerPoint document embedded files.
I find the exact OleObjectFrame but I don’t know embedded file’s original name
how can I get it?
In some cases I have problem with the saved files
to save exe file but the saved file is corrupted.
I added the powerpoint file
Thank you for posting.
I have observed your comments and like to share with you that you can get the name of embedded file in an ole frame by using the LinkFileName property. About the problem while saving the files, I request you to please share the source file with us so that we may investigate it further to help you out.
Thank you for your reply.
LinkFileName is empty string.
I attached print screen of debug that show this (Code.png)
I attached the file to this reply (Presentation.pptx).
I have observed your comments and like to share with you that I am able to reproduce the problem with the LinkFileName property and a ticket with ID SLIDESNET-37086 has been logged into our issue management system for further investigation and resolution of the issue. This thread has been linked with the issue so that you may be notified automatically as soon as the issue will be resolved.
About the problem while saving the file, I am not able to observe any issue while saving the presentation as a pptx file by using the code below. I have also attached the generated output file for your kind reference (see OLEsaved_By_Aspose.pptx). A presentation can not be saved as an exe file so please elaborate what exactly do you mean by saving as exe, so that we may proceed further to help you out.
Presentation pres = new
We are sorry for your inconvenience,