Search found 14 matches
- Sat Oct 08, 2011 7:03 am
- Forum: XLSReadWriteII 3/4/5
- Topic: Create bad Excel 2007 .xlsx File (Zlib decompress error)
- Replies: 5
- Views: 9004
Re: Create Excel 2007 File Error!!
[quote="larsa"]Hello I can't find any problem with your code.[/quote] which IDE version? In delphi XE, the followinf code always says: "Zlib decompress error" procedure TForm1.btn1Click(Sender: TObject); begin xls1.Version := xvExcel2007; xls1.Sheet[0].AsInteger[1,1] := 90; xls1....
- Thu Aug 11, 2011 12:49 am
- Forum: XLSReadWriteII 3/4/5
- Topic: about SheetProtection
- Replies: 2
- Views: 3700
Re: about SheetProtection
when add:
xls1.Sheets[0].SheetProtection := DefaultSheetProtections;
it work fine now.
xls1.Sheets[0].SheetProtection := DefaultSheetProtections;
it work fine now.
- Thu Jul 28, 2011 3:16 am
- Forum: XLSReadWriteII 3/4/5
- Topic: about SheetProtection
- Replies: 2
- Views: 3700
about SheetProtection
I want to remove Protection of a xls file,
My Code:
xls1.Filename := 'c:\aa.xls';
xls1.Read;
xls1.Sheets[0].SheetProtection := [];
xls1.Write;
it seems not work.
why?
delphi xe & xlsreadwrite II 4.0053
My Code:
xls1.Filename := 'c:\aa.xls';
xls1.Read;
xls1.Sheets[0].SheetProtection := [];
xls1.Write;
it seems not work.
why?
delphi xe & xlsreadwrite II 4.0053
- Sat Mar 12, 2011 1:07 pm
- Forum: XLSReadWriteII 3/4/5
- Topic: Create bad Excel 2007 .xlsx File (Zlib decompress error)
- Replies: 5
- Views: 9004
Re: Create Excel 2007 File Error!!
my ide: delphi xe xlsreadwriteII 4.00.52 procedure TForm1.btn1Click(Sender: TObject); begin xls1.Version := xvExcel2007; xls1.Sheet[0].AsInteger[1,1] := 90; xls1.Filename := 'c:\aa.xlsx'; xls1.Write; xls1.read; end; it did create 'c:\aa.xlsx' file, but when run to: xls1.Read; error occur: "Zlib...
- Tue Mar 08, 2011 1:45 pm
- Forum: XLSReadWriteII 3/4/5
- Topic: Create bad Excel 2007 .xlsx File (Zlib decompress error)
- Replies: 5
- Views: 9004
Re: Create Excel 2007 File Error!!
with the new version 4.0049 I could not create a good .XLSX file too. procedure TForm1.btn1Click(Sender: TObject); begin xls1.Version := xvExcel2007; xls1.Sheet[0].AsInteger[1,1] := 90; xls1.Filename := 'c:\aa.xlsx'; xls1.Write; end; it did create 'c:\aa.xlsx' file, but xls1.Read; can not work.
- Mon Mar 07, 2011 7:55 am
- Forum: XLSReadWriteII 3/4/5
- Topic: Create bad Excel 2007 .xlsx File (Zlib decompress error)
- Replies: 5
- Views: 9004
Re: Create Excel 2007 File Error!!
How to create a Excel 2007 File?
- Sat Jan 29, 2011 2:43 am
- Forum: XLSReadWriteII 3/4/5
- Topic: Vista + Excel 2007 + Russian Charset
- Replies: 9
- Views: 10508
Re: Vista + Excel 2007 + Russian Charset
procedure TForm1.btn1Click(Sender: TObject);
begin
xls1.Version := xvExcel2007;
xls1.Sheet[0].AsInteger[1,1] := 90;
xls1.Filename := 'c:\aa.xlsx';
xls1.Write;
end;
'c:\aa.xlsx'; could not open by Excel 2007 , why?
begin
xls1.Version := xvExcel2007;
xls1.Sheet[0].AsInteger[1,1] := 90;
xls1.Filename := 'c:\aa.xlsx';
xls1.Write;
end;
'c:\aa.xlsx'; could not open by Excel 2007 , why?
- Sat Jan 29, 2011 2:18 am
- Forum: XLSReadWriteII 3/4/5
- Topic: Create bad Excel 2007 .xlsx File (Zlib decompress error)
- Replies: 5
- Views: 9004
Create bad Excel 2007 .xlsx File (Zlib decompress error)
hello: My code: uses BIFFRecsII4,XLSFonts4, XLSReadWriteII4; procedure TForm1.btn1Click(Sender: TObject); begin xls1.Version := xvExcel2007; xls1.Sheet[0].AsInteger[1,1] := 90; xls1.Filename := 'c:\aa.xlsx'; xls1.Write; xls1.Read; end; xlsreadwrite version 4.0.0.X Error Info: "Zlib decompress e...
- Thu Jul 31, 2008 11:35 am
- Forum: XLSReadWriteII 3/4/5
- Topic: XLSReadWriteII 4: Excel 97 file with more than 57344 rows
- Replies: 7
- Views: 7351
ok!!!
procedure TForm1.btn1Click(Sender: TObject); var i: Integer; begin xls.Filename := 'c:\aa.xls'; xls.Sheets[0].AsString [0, 0] := 'Counter'; for i := 1 to 65535 do begin xls.sheets[0].AsString [0, i] := IntToStr (i); xls.sheets[0].AsString [1, i] := 'Knappensee-Gro? S?rchen'; end; xls.Write; end;
- Thu Jul 31, 2008 6:14 am
- Forum: XLSReadWriteII 3/4/5
- Topic: Unicode String Write
- Replies: 2
- Views: 2639
I 've got it!
I 've got it!
I rewrite Function IsUnicode .
I rewrite Function IsUnicode .
- Thu Jul 31, 2008 4:47 am
- Forum: XLSReadWriteII 3/4/5
- Topic: Unicode String Write
- Replies: 2
- Views: 2639
example
procedure TForm1.btn1Click(Sender: TObject);
begin
XLSR.Read;
XLSR.Sheets[0].AsString[2, 2] := XLSR.Sheets[0].AsString[1, 1];
XLSR.Write;
end;
XLSR.Sheets[0].AsString[1, 1] : Kißlegg
then
XLSR.Sheets[0].AsString[2, 2] : Ki?legg
begin
XLSR.Read;
XLSR.Sheets[0].AsString[2, 2] := XLSR.Sheets[0].AsString[1, 1];
XLSR.Write;
end;
XLSR.Sheets[0].AsString[1, 1] : Kißlegg
then
XLSR.Sheets[0].AsString[2, 2] : Ki?legg
- Thu Jul 31, 2008 12:04 am
- Forum: XLSReadWriteII 3/4/5
- Topic: Unicode String Write
- Replies: 2
- Views: 2639
Unicode String Write
My OS: windows XP sp3 (chinese)
I use xlsreadwriteII 3.
I write a unicode string to a xls file.
when open xls file, the char of unicode string change to '?'
Thank you very much.
Regards
I use xlsreadwriteII 3.
I write a unicode string to a xls file.
when open xls file, the char of unicode string change to '?'
Thank you very much.
Regards
- Wed Jul 30, 2008 5:43 am
- Forum: XLSReadWriteII 3/4/5
- Topic: Unicode judgment failed
- Replies: 5
- Views: 4213
delphi 7.0 & delphi 2007
delphi 7.0 & delphi 2007 do not work well before rewrite isunicode function
- Tue Jul 29, 2008 9:31 pm
- Forum: XLSReadWriteII 3/4/5
- Topic: Unicode judgment failed
- Replies: 5
- Views: 4213
the same error i reproduced!
xlrReadWrite.Sheet[0].AsString[0, 0] := tntedit.text; // ÜB This result in EXCEL is failed. The one-byte character "?"appear instead of U with accent mark AsString[1,1] := WideChar($03C0); work well. "When I test this, I get the correct characters. The problem is probably the font you...