Well, yes, Aspose.Cells for .NET can auto-detect FileFormatType, so if you don't provide the format type (e.g.., .xls, .xlt, .xlsx, .xlsm etc. ), it will determine the file format type automatically.
e.g..,
Dim xl As New Aspose.Cells.Workbook()
Dim fs As New IO.FileStream(filename, IO.FileMode.Open, IO.FileAccess.Read, IO.FileShare.ReadWrite)
Well, yes, Aspose.Cells for .NET can auto-detect FileFormatType, so if you don't provide the format type (e.g.., .xls, .xlt, .xlsx, .xlsm etc. ), it will determine the file format type automatically.
e.g..,
Dim xl As New Aspose.Cells.Workbook()
Dim fs As New IO.FileStream(filename, IO.FileMode.Open, IO.FileAccess.Read, IO.FileShare.ReadWrite)
Dim sr As New IO.StreamReader(fs)
xl.Open(sr.BaseStream)
Thank you.
Ah thanks. Apparently if you use the LoadData function, instead of Open, it throws a fit about file format, so I thought it was the same for both.