We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

DetectFileFormat is identifying Excel file as Word

Using the following code with the attached file, oFormat will be Doc{1}. I was expecting "Unknown". Is this normal?

Dim oFormat As LoadFormat = Document.DetectFileFormat(szFile)

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

Thank you for reporting this problem to us. I managed to reproduce this problem and created new issue #4800 in our defect database. I will notify you as soon as it is fixed.

Best regards.

The issues you have found earlier (filed as 4800) have been fixed in this update.