I am confused by Delphi 2009/2010 support for the Aero Theme Glass features in Windows, and by what, exactly DoubleBuffered means, and what it has to do with Aero glass. I have found that DoubleBuffered is not only a property in the VCL, it also is found in .net WinForms. Initially I wondered if it set some kind of window style bit use...
Hello. I currently use
Type
TDelphiSignature=record
Signature:array [0..3] of LongWord;
Version:string;
end;
const
DelphiSignature:array [0..2] of TDelphiSignature=(
(Signature:($384F3D26,$B83782C2,$034224F3,$833A9B17);Version:'Delphi Entreprise'),
(Signature:($235D7823,$19F3A5B6,$0240F343,$C711D126);Version:'Delp...
I have TeeChart version 7.07.
I have a chart with a FastLineSeries with 400 datapoints (x is date and y is used%).
the first 200 are valid dates with actual measured % values. the next 200 are valid dates in the future with 0 as the YValue that were added using AddNullXY (date,0,datelabel). I also have a FastLineSeries as a trend funct...
Hi,
I use Delphi 2006 and ADO to connect to a MS Access database. Some of the fields I retrieve are Date fields (in Access formatted as "Medium Date" i.e. 20-Apr-2010) however I have to retrieve them as Strings:
FValue:=FAccessADOQuery.Fields.FieldByName(FIELD_NAME).AsString;
and then the fields are formatted as follows: 4/20/2010.
...
I am migrating an application from Delphi 6 - IBX - Firebird 1.5 that works great to Delphi 2010 - Firebird 2.1 - UTF8 database.
The problem is that if I use a TDBMemo to display data from a BLOB I get the following error:
Debugger Exception Notification
Project accedo.exe raised exception class EAccessViolation with message
'Ac...
hi all
how can i commpunicate with tor network in delphi
i want to use tor network for my IDHTTP1 operations
is it possible ?
if yes can any one help me
regards :)
...
I cannot detect if the scrollbars of a form are visible.
Googleing the Internet shows that the code below should work. Everybody uses it:
function VertScrollBarVisible(WindowHandle: THandle): Boolean;
begin
Result:= (GetWindowlong(WindowHandle, GWL_STYLE) AND WS_VSCROLL) <> 0
end;
I call it like this:
procedure TFrmBaser.Button1Cl...
I'm using Delphi 2006 and would like some help with fixing a bug in an OLE DB driver implementation.
The implementation is built on top of the OLEDB Toolkit from Binh Ly.
The problem I'm having is that after executing an Insert command inside the TOleDbCommand.ExecuteCommand method I need to update the row data with a record Id (this i...
I need to embed images in an email and preview the email before it is sent in outlook. CDO and Redemption is not an option.
I have tried the following code, but the images just appears as a little block.
procedure AddAttachment(FullFileName: String; Attachments: Outlook2000.Attachments; CID: String);
const
PR_ATTACH_CONTENT_...
I tried a script from a web site I run
http://www.delphi-central.com/runtime.aspx and succeed.
private
{ Private declarations }
procedure CustomButtonClick(Sender: TObject);
procedure TForm1.AddNewButtonClick(Sender: TObject);
var
NewButton : TButton;
begin
NewButton := TButton.create(self);
with NewButton do
begin...
What is the best way to implement splash screen in Delphi?
...
In a Firebird database driven Delphi application we need to bring some data online, so we can add to our application online-reporting capabilities.
Current approach is: whenever data is changed or added send them to the online server(php + mysql), if it fails, add it to the queue and try again. Then the server having the data is able to...
Is it possible to send e-mails using smtp through proxy with delphi.
I have build some e-mail sending applications before, using SSL etc. but i didn't use proxy before, has anyone idea how i can do that with delphi.
Thanks.
...
I am experiencing an hard-to-track problem: when showing new forms (I create and show them at runtime) sometimes the form is minimized.
I don't understand why, I say this problem in xp, Vista and 7.
I tried to create samples to isolate the problem but on the samples I cannot reproduce it (=the forms always show not minimized).
What ha...
Hi Guys,
I have a little bit of an odd issue.
When I run this SQL:
with ID_Table as (
select row_number() over (order By SS_ID) As row_id,
ss_id
from slide_show )
select t0.*
from ID_Table as t1
inner Join slide_show as t0 on t1.ss_id = t0.ss_id
where t1.row_id between 0 and 1
order by t...
I maintain a Delphi program which uses typed binary files as its native file format. After upgrading from Turbo Delphi to Delphi 2010, all chars in the record type being stored started being stored with 2 bytes rather than one.
The data types being stored are char and array[1..5] of char.
So before, part of the file looked like:
4C 20...
I am looking for a Delphi button designed to use with Aero Glass running Vista and Windows 7, with the following properties:
completely self-drawn TCustomControl descendant.
looks good [ renders in a way that looks to the user like a normal button, with no glitches ] over a Glass pane with Aero composition (DWM), no white or black ring...
I understand how to retrieve the UNC path for a mapped drive from the registry (HKEY_CURRENT_USER\Network), but I also have a need to retrieve remote connections to network resources that were not mapped.
For example, opening the 'Run' dialog and typing <\server0123\share$>. If I type "net use", I would see this mapping, but I have bee...
I am trying sending HTML e-mails using MAPI calls in my Delphi Application.
When the client is Thunderbird if works fine. But when the client is Microsoft Outlook or Outlook Express I need to save the HTML code in a file and send it as the first attachment of my message, elsewhere the mail client interpret the HTML as text, showing the t...
Hi
I´m trying to do a system that has a central database in the office and if necessary I work in a copy of the database out of the office and when i return i update the client(s) record.
I have for each client a master table dataset client========>Local places of this client===> Equipment====>Report(variables).
so when I return I have...