delphi-7 Questions
6
Solved
I just ran into an annoying problem. Suddenly Avira AntiVir started to flag one executable from my software as being a virus.
As the default action from almost any user is to click OK and Avira s...
Astray asked 26/7, 2010 at 21:28
2
Solved
I'm using Delphi7 and I'd like to bold some days of a TDateTimePicker control.
I've read that, originally, it's a descendant of TMonthCalendar, thus it should be possible.
I've also found some ex...
Grimbal asked 19/11, 2010 at 8:29
2
ive a news server Built on Delphi7, using Indy9 TIdTCPServer, and the clients are using TClientSocket from ScktComp for size, and the traffic is encrypted in RC4 (string)
what exactly do i need to...
Hope asked 12/11, 2010 at 12:42
1
Solved
I noticed the following phenomenon:
An executable built with Delphi 7 and part of the name including "Update" (e.g. "UpdateMyApp.exe") causes UAC to step in to display a warning like "do you want ...
2
Solved
Is any other way to compare 2 TGUID elements, except transform them into strings (the guidtostring function) and after evaluate the expression, in Delphi 7?
1
Solved
InvalidateRow and InvalidateColum are not working for TStringGrid. The methods will not invalidate the entire Row/Col.
InvalidateGrid always works (so this could be a dirty work-arround until the ...
Oech asked 20/10, 2010 at 15:5
3
Solved
I used this on a form and created it like 10 times. That was ok, until I tried to pass this number. Then it started eating system resources. Is there any way I could create a component like this? I...
Theodor asked 10/10, 2010 at 15:10
4
Solved
I'm writing a client-server win32 application in Delphi 7 and in a section i need to bring aprox. 100k (less or more) rows with data from an Oracle database. Everything ok so far, but one of the fi...
3
Solved
I'm using Delphi 7, and I want to create a custom warning message (which will be shown at compile time), so I can warn other programmers on some modifications. I've searched on the internet but I d...
Busywork asked 6/10, 2010 at 10:4
6
Solved
I need to know if all characters in a string are equal (formed by the same character). the function must return true or false depending if all the elements of the string are equal to an particular ...
5
Solved
What is the preferable way to write Delphi database applications using transactions and also data-aware components?
I have to write a client app that access InnoDB tables, and do some master-detai...
Am asked 30/9, 2010 at 18:1
3
Solved
I followed the advice received in a previous discussion ( Should "Library path" point to the source files of packages? ) and now my Library Path points to folders containing the compiled ...
2
Solved
I have a TList. It contains a collection of objects of the same type. These objects are descended from a TPersistent, and have about 50 different published properties.
In my application, the user...
5
Solved
I am trying to write to ports 0x60 and 0x64, with no luck.
Delphi code:
procedure PortOut(IOport: WORD; Value: BYTE); assembler; register;
asm
XCHG DX,AX
OUT DX,AL
end;
Upon calling PortOut, ...
2
Solved
I have two Delphi7 programs: a COM automation server (EXE) and the other program which is using the automation server.
I need to pass an array of bytes from one program to the other.
After some s...
Insolvable asked 1/9, 2010 at 15:34
5
Solved
I have a main thread and a separate thread in my program. If the separate thread finishes before the main thread, it should free itself automatically. If the main thread finishes first, it should f...
Phagocyte asked 24/8, 2010 at 13:47
4
Solved
I'd like to download a file from my Delphi program in a separate thread dedicated to the download.
The problem is that the main program can be closed any time (thus the download thread can be term...
Tion asked 23/8, 2010 at 14:27
1
Solved
procedure TmainForm.FormCreate(Sender: TObject);
var img : TImage;
pic:TPicture;
begin
pic := TPicture.create();
pic.LoadFromFile('my_picture.jpg');
img := Timage.create(Self);
img.Picture :...
3
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 TF...
Disoperation asked 29/7, 2010 at 4:51
4
Solved
I am trying to send an e-mail using gmail account (Delphi 7, Indy 10) with these settings:
TIdSmtp:
Port = 587;
UseTLS := utUseExplicitTLS;
TIdSSLIOHandlerSocketOpenSSL:
SSLOptions.Method := s...
3
Solved
I wrote an small app to transfer files using the indy components, now i want start the antivirus program when the transfer is finished to check the files.
how i can execute the antivirus program ...
Retardment asked 20/7, 2010 at 16:33
5
Is it possible to set the "Version Info" settings from code? I'd like to set the version numbering and the value for the "Comments" property without using the project options dialog.
4
Solved
Given a record type:
TItem = record
UPC : string[20];
Price : Currency;
Cost : Currency;
...
end;
And the name of a field as a string, how can I get the offset of that field within the reco...
4
Solved
At work I have used Delphi 6 & 7 Enterprise for several years. A few years back, I bought a personal copy of Turbo Delphi Professional. Because of this I am eligible for Delphi 2010 Professiona...
Equator asked 24/6, 2010 at 2:55
4
Is "Replacing non-visual components with code" a proven optimization technique in Delphi 7. Mainly with respect to Database Access.
© 2022 - 2024 — McMap. All rights reserved.