Hello,
I am now using Aspose.Cells Workbook.Open Method (Stream, FileFormatType) and Workbook.Open Method (String, FileFormatType). Could you please confirm me in which case those method will return a FileFormat or UnsupportedStream exception?
When i try to simulate the FileFormat exception, through providing a .exe file or a text file renamed as a .xlsx file and calling Open(fileStream, FileFormatType.Excel2007Xlsx), i get the following exception:
Aspose.Cells.OpenXML.xc5e345d2a919c94b exception : "Cannot find central directory"
Looking forward reading you,
Regards, Renaud