I am trying to create an Excel document using Aspose.Cells and within that document I want to insert several OLE objects (Excel, Work, PowerPoint, Image, Text documents..).
Long story short, I have 8 sample types of documents I want to insert (.jpg, .txt, .doc, .docx, .ppt, .pptx, .xls, .xlsx). I am able to create the document, to insert these documents as ole objects and here are the results:
- If I save the result document as an .xlsx, I am able to open from within that document the .doc, .ppt and .xls objects. For the rest, I get the following error message: "Cannot start the source application for this object"
- If I save the result document as an .xls, I am able to open from within that document the .doc, .ppt, .xls, and additionally the .jpg and .txt objects. For the rest, I get the same error message: "Cannot start the source application for this object".
I have attached a sample project. Check the bin\Debug for the results after running it and copy the result files on a different machine, where the source files do not exist.
What could cause such inconsistent behavior ? I am very interested in your feedback.
PS: My Office programs already have the Protected View disabled.