problem open xls

Feb 23, 2015 at 7:36 AM
hi all,
i have a problem opening an excel that i receive from third party...
problem is in 'public static XlsBiffRecord GetRecord' on the step 'uint ID = BitConverter.ToUInt16(bytes, (int)offset);' (destination matrix is not enought big....).
values:
'bytes'=[4096]
'offset'=4095

but if i open the excel and save it dll is working fine.
someone have the same problem?!

in case i could attach the xls to try.
thank in advance.