delphi-6 Questions
6
Solved
Is there a way to force the Delphi compiler to display all hints and warnings all the time?
Here is the behavior that I am currently seeing in Delphi 6:
Check out fresh copy of my application fr...
Spelt asked 10/6, 2009 at 20:43
2
Solved
Is there a way to wrap the text in a TPanel.Caption in Delphi (in my case Delphi 6)?
1
Solved
I have the following variable declarations:
arrChar_1: array[0..2] of Char;
arrChar_2: array[0..2] of Char;
str: string;
Then I made the assignment:
str := arrChar_1 + arrChar_2;
This assignm...
Shiloh asked 17/10, 2018 at 1:56
2
Thanks to any that can provide some assistance...
Background:
I have an application coded and still supported in Borland Delphi v6. Very recently I have had issues with the TADOStoredProc class f...
Counterword asked 29/8, 2012 at 2:45
3
Solved
Previously, a few weeks back,
I asked a similar question regarding D6 and Windows 7.
After installing Delphi 6 in another path, it worked.
BUT now,
after upgrading from W7 to Windows 10 it no long...
1
How can I get one specific line to be bold in a RichEdit?
2
Solved
I have just spent quite a lot of time trying to make the Tools/Environment Options dialog of the Delphi 6/7 IDE sizable from within GExperts. Everything seemed to work fine until I found that chang...
2
Solved
I am using Delphi 6 and want to add the functionality of sorting a ListView, like it is done in Windows Explorer.
In a first test, I have (quick&dirty) copied a few source codes from a few sou...
2
Solved
To get the instance of the class with Singleton pattern, I want use the following function:
This is a sketch
interface
uses SyncObjs;
type
TMCriticalSection = class(TCriticalSection)
private
...
Jessamyn asked 17/5, 2013 at 11:48
1
Solved
Here is my configuration:
IdSMTP1.Host := 'smtp.gmail.com';
IdSMTP1.Port := 587;
IdSMTP1.UseTLS := utUseExplicitTLS;
IdSMTP1.IOHandler := IdSSLIOHandlerSocketOpenSSL1;
IdSSLIOHandlerSocketOpenSSL1...
5
Solved
I'm writing a multi-threaded application in Delphi and need to use something to protect shared resources.
In C# I'd use the "lock" keyword:
private someMethod() {
lock(mySharedObj) {
//...do so...
Arabeila asked 11/6, 2010 at 13:11
2
I made an application with Delphi 6.
After that I extracted a .pot file with all the strings to translate.
The problem is that there are strings that don't have to be tranlated, and if translated w...
1
Solved
In my application, when I want import a file, i use TStringList.
But, when someone export data from Excel, the file encoding is UCS-2 Little Endian, and TStringList can't read the data.
There is ...
Pernick asked 26/4, 2013 at 15:44
2
Solved
The TADOQuery component has "prepared" property the manual says that when prepared is set TRUE, the ADO 'prepares' the commmand, what this means??
Here is the manual explanation:
Set Prepared b...
3
Solved
In my application I have the following record:
TTransaction = record
Alias: string
Description: string
Creation: TDateTime
Count: Integer
end;
and I'm using this record in this array:
Trans...
Thinking asked 19/2, 2013 at 13:12
2
Solved
I have a polling application developed in Delphi 6.
It reads a file, parse the file according to specification, performs validation and uploads into database (SQL Server 2008 Express Edition)
We ...
4
Solved
I've got a problem to convert a string representation of an hex value in integer value with Delphi.
for example:
$FC75B6A9D025CB16 give me 802829546 when i use the function:
Abs(StrToInt64('...
Spirituous asked 12/12, 2012 at 14:34
9
Solved
I am writing a program which write statistical tests in Delphi (must be Delphi) and I've heard that the Random functionality is somewhat odd. You have to call randomize to randomize the seed of the...
Hondo asked 15/10, 2010 at 23:29
0
I have a coin changer MEI Cashflow E7900 and an MDB adapter to connect the device to a serial port. The shop which sold me the adapter also provided a test application, which is written in De...
Koniology asked 16/8, 2012 at 16:13
1
I need to create at runtime a partial transparent Form inside a Panel.
How might I be able to achieve this?
Paraclete asked 24/5, 2012 at 17:56
1
To get a particular DOM node embedded in the current web document from a TChromium instance, using its ID, you use ICefDomDocument.getElementById(). But how do you find elements by the NAME attribu...
2
Solved
My class contains dataset (TDataSet). Users of my class can assign event handlers for this dataset:
ds.FieldByName('ID').OnChange := @ID_OnChange;
Then I have to reopen dataset:
ds.Close;
ds.O...
1
Solved
I want to show popup button or fancy message (with coloured background, etc) just under right-bottom corner of particular cell of the current row.
For now I only figured how to get grid coordinat...
1
Solved
I am using the Chromium web browser control in my Delphi 6 application.
Whenever the user clicks on a web link in the web page currently being displayed that is not on my primary web site I launc...
Coenobite asked 12/2, 2012 at 15:12
2
Solved
I've been searching now for HOURS on Google (and here).
And I cannot find a solution.
I want to CHANGE the "Created Filetime" (= creation filetime) in DELPHI 6.
Not the "Modified file time" (for...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.