Search found 23 matches

by billegge
Sat Nov 28, 2015 12:21 pm
Forum: XLSReadWriteII 3/4/5
Topic: Proposal for Component Vendors and Product Developers to Pur
Replies: 0
Views: 6860

Proposal for Component Vendors and Product Developers to Pur

I would like to suggest to all major component vendors and those who make products with Delphi to purchase "Delphi" from Idera and do not, repeat do not make it open source but keep it commercially supported (capitalism). The component vendors and product developers love Delphi and we need...
by billegge
Mon Apr 13, 2015 7:05 pm
Forum: XLSReadWritwII 6
Topic: Add 64bit cell values
Replies: 1
Views: 1800

Add 64bit cell values

In the next update, can you add 64bit Signed and Unsigned Integers to TSheet cell values?

I am importing a BIGINT datatype from a database and getting an overflow error using AsInteger.
by billegge
Fri Dec 12, 2014 2:23 pm
Forum: XLSReadWritwII 6
Topic: Thread safety reading Cell Values?
Replies: 1
Views: 1340

Thread safety reading Cell Values?

Log story short, are the following functions thread safe? Sheet.CellType[ColNo, Row] Sheet.AsString[ColNo, Row] Sheet.AsVariant[ColNo, Row] Long Story: I am reading data from an excel file and importing that into a database. I want to use the XE7 threading library and FireDAC Array DML to quickly re...
by billegge
Wed Sep 10, 2014 6:14 pm
Forum: XLSReadWritwII 6
Topic: XLSReadWriteII5 does not compile in Console, Service, or ISA
Replies: 1
Views: 1296

Re: XLSReadWriteII5 does not compile in Console, Service, or ISA

FYI - If anyone else has this problem the workaround for it is to add VCL and VCL.Imaging to the Unit Scope Names of your project options.
by billegge
Wed Sep 10, 2014 5:49 pm
Forum: XLSReadWritwII 6
Topic: XLSReadWriteII5 does not compile in Console, Service, or ISA
Replies: 1
Views: 1296

XLSReadWriteII5 does not compile in Console, Service, or ISA

XLSReadWriteII5 does not compile in Console, Service, or ISAPI applications due to the compiler not finding the Graphics unit. This works ok in a VCL application but appears that in console apps you must preceded the unit name with "VCL.". Please fix soon because my excel code is in a VCL,...
by billegge
Tue Aug 26, 2014 1:16 pm
Forum: XLSReadWritwII 6
Topic: AsDateTime shows raw number in Excel
Replies: 1
Views: 1448

AsDateTime shows raw number in Excel

I have upgraded to v5 and now all my date cells are just numbers when I open it in excel. My program mainly exports data from a query to excel, so a whole column except for the header should be a date format. Below is test code showing the date problem, but I want to know what the most effcient way ...
by billegge
Tue Aug 19, 2014 4:09 pm
Forum: XLSReadWritwII 6
Topic: Formatting messed up
Replies: 0
Views: 1970

Formatting messed up

I am having trouble upgrading from v4 to v5. I am running this in XE. The following code does not set the font to Arial, instead is set to Calibri, The date and float columns does not set the font size to 8 and instead is set to 11. The color of the header is not xcPaleSky but is an orange color. pr...
by billegge
Tue Aug 19, 2014 2:16 pm
Forum: XLSReadWritwII 6
Topic: FillPatternForeColor in version 5?
Replies: 2
Views: 2174

FillPatternForeColor in version 5?

I have upgraded from version 4 to the current version 5 and the following code snip no longer compiles, what is the correct way to do this in version 5? I get error [DCC Error] XLSRWHelp.pas(62): E2010 Incompatible types: 'Cardinal' and 'TXc12IndexColor' // Set background color for Column Headers (w...
by billegge
Tue Mar 22, 2011 7:04 pm
Forum: XLSReadWriteII 3/4/5
Topic: Open/Modify/Save = Protected Sheet + Messed Up formatting
Replies: 0
Views: 2300

Open/Modify/Save = Protected Sheet + Messed Up formatting

I have a file that if I open the file, write to a cell, then save the file - then open the file in Excel and as soon as I try to type in the cell Excel tells me that it is protected. Also, the coloring gets messed up on one of the columns. I cannot upload the file, please email me for the file at be...
by billegge
Tue Jul 20, 2010 5:12 pm
Forum: XLSReadWriteII 3/4/5
Topic: Sheet getting protected after saving
Replies: 7
Views: 6411

Re: Sheet getting protected after saving

That post was in 2008 and you may have an updated version.
by billegge
Mon Nov 09, 2009 7:10 pm
Forum: XLSReadWriteII 3/4/5
Topic: Canvas does not allow drawing
Replies: 1
Views: 3395

Re: Canvas does not allow drawing

I tested and found that the below test code creates the Canvas does not allow drawing error. Adding a ReleaseDC call fixes it. [code] procedure TForm10.Button1Click(Sender: TObject); procedure DoIt; var Canvas: TCanvas; F: TFont; begin Canvas := TCanvas.Create; Canvas.Handle := GetDC(0); try F := TF...
by billegge
Mon Nov 09, 2009 6:34 pm
Forum: XLSReadWriteII 3/4/5
Topic: Canvas does not allow drawing
Replies: 1
Views: 3395

Canvas does not allow drawing

I am getting "Canvas does not allow drawing" on the following line: Line: [code] Result := Round((FWidth / 256) * Canvas.TextWidth('8')); [/code] Source: [code] function TXLSColumn.GetPixelWidth: integer; var Canvas: TCanvas; F: TFont; begin Canvas := TCanvas.Create; Canvas.Handle := GetDC...
by billegge
Fri Aug 14, 2009 1:05 pm
Forum: XLSReadWriteII 3/4/5
Topic: Some RGB colors do not match
Replies: 1
Views: 2134

Some RGB colors do not match

Hello, I have an excel file (97-2003) with a cell that has a background color of E3B48D. When I read the Cell.CellColorRGB property I get FFCC99. These colors are each variants of blue but some other colors have a more drastic difference for example Excel has 538ED5 (a blue) and Cell.CellColorRGB re...
by billegge
Mon Aug 10, 2009 6:45 pm
Forum: XLSReadWriteII 3/4/5
Topic: No Footer in 2007
Replies: 1
Views: 2025

No Footer in 2007

If the file version is 2007, Sheet.PrintSettings.Footer returns an empty string. Its ok in the 97-2003 version.
by billegge
Mon Aug 10, 2009 6:40 pm
Forum: XLSReadWriteII 3/4/5
Topic: Sheet Margin does not seem to be working
Replies: 1
Views: 2194

Sheet Margin does not seem to be working

In a 2007 version, the margins do not seem to be getting the correct values. My excel file has a Top margin of 0.75in and a left Margin of 0.25in. However, Sheet.PrintSettings.MarginLeft returns 0.75 and Sheet.PrintSettings.MarginTop returns 1.0

This seems to be ok if the file was a 97-2003