Hi,
I'm trying to load an Excel file and the Load function through an exception 'Attempted to read past the end of the stream'
It is an Excel 2003 file and I can open it using Excel.
Thanks for your help,
I think the 'Add' method will add a new (empty) worksheet but will not load it.
Hello Kevin,
Can you try to use this code instead than the method "Load" and tell me if it works for you?
Dim wb As Workbook
Dim ws As Worksheet
wb =
New Workbook()
ws = wb.Worksheets.Add(
"aldebaran 132wb.xls")
'wb = Infragistics.Excel.Workbook.Load("aldebaran 132wb.xls")
Sincerely,MatteoDeveloper Support EngineerInfragisticswww.infragistics.com/support
I was able to reproduce the issue with the file you have posted. I have forwarded this post to the Developer Support Manager and a DS engineer will be contacting you about this issue.
Getting the same error here, again with specific excel 2003 files. I've uploaded this to developer support already, but attached is a copy of a file i'm getting the problem with
Hm, that code is pretty simple, so that's pretty clearly a bug.
The first thing I recommend is that you get the latest service release if you do not already have it. Perhaps this is a known issue and is already fixed.
How to get the latest service release - Infragistics Community
If that does not help, we'd need to check it out further, so it would be great if you could post the Excel files here or submit them to Infragistics Developer Support.