Hi,
My windows application has reference to the above mentioned dlls. I am looking to load a excel 2007 file to the grid, and i keep getting the below exception message. I believed Infragistics3.Excel.v9.2.dll supported this Load. The code breaks at Workbook.Load(fs); where fs is filestream
Any idea what could be wrong?
Many Thanks
Renu
Hi Renu,
It would appear that there is a problem with your filestream. How are you creating this stream? What does the code look like?
Also.. just out of curiosity, why use a FileStream instead of just using the filename? Are you manipulating the file stream in some way before you try to load the Workbook?
I have a filedialog . user selects the file and then i have this line
fs =
new System.IO.FileStream(selectedFile, System.IO.FileMode.Open, System.IO.FileAccess.Read);
Let me try with the file directly.
The excel file is simple file with data in 6 columns. No formulas / fomatting etc.
Thanks