Page 1 of 1

Error reading test.xls

Posted: Sat Feb 07, 2009 11:47 am
by Munt
Hello !

I sent the file test.xls, which was recorded with an error.

>> I'm use very simply code:
>>
>> // XLSReadWriteII 4.0 version 4.00.15
>>
>> XLS->Filename = "test.xls"; // test.xls is attached to this mail!
>> XLS->Read();
>>
>> XLS->Filename = "new.xls";
>> XLS->Write();
>>
>> After writting MS Excel opening "new.xls" with errors and trying to recovery
>> it!
>>
>> But source file "test.xls" opens fine, without any messages.
>>
>> What I doing wrong ?
>> My work is stopping. Please answer me!
>>
>> I'm registered user from version 2.0 31/03/2005!

XLSSpreadSheetDemo.exe reads it is also an error.

I really like your product,
but so far I have not received any answers!

Can I get a response - whether working on corrected?

Re: Error reading test.xls

Posted: Wed Feb 11, 2009 5:12 pm
by texas_stubby
I have seen a similar error, but not with an example as simple as yours.

For some reason version 4 does not like an empty strings e.g. currSheet.asString[1,1] = '' will cause the error you are seeing. xlsreadWriteII2 did not exhibit this behaviour.

Regards
Dave