We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to check whether an Excel document is supported by XlsIO?

This article explains how to check whether an Excel document is supported by XlsIO.

XlsIO supports Excel files generated from Excel97 (*.xls) onwards. We can check whether the file is supported by XlsIO using  IsSupported() method in IApplication. This method accepts either a file path or a stream object of an Excel document and returns true if the file is supported by XlsIO, otherwise false.

Sample code to check whether the Excel file is supported

 

Note : When we try to open an Excel document generated prior Excel97 using XlsIO then “File does not contain workbook stream” exception occurs.

Download Complete Sample

To know more about this, please refer the documentation

The following C#/VB complete code snippet explains how to check whether an Excel document is supported by XlsIO.

C#

 

VB

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8444 02/15/2018 02/15/2018 Windows Forms XlsIO
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.