Questions tagged [delphi-6]

Delphi 6 is a specific version of Delphi. It was released in May 2001. Delphi 6 generates .Net code which differentiates it from the Delphi versions before or after it. Use this tag for issues related to development in Delphi, version 6.

Delphi 6 is a specific version of Delphi.

Delphi 6 codename is Iliad.

Delphi 6 introduced a number of new features for building and using industry-standard Web Services with full support for XML, SOAP and WSDL. Delphi 6 also included the CLX library, a cross-platform alternative to the Windows-only VCL, for targetting both Windows and Linux with a single codebase. Delphi 6 was available in three editions: Enterprise, Professional and Personal.

Delphi 6 was preceded by Delphi 5 and succeeded by Delphi 7. From August 2003 it was no longer officially supported.

269 questions
0
votes
0 answers

How to install YmCrypt.ocx ON Delphi 6

I have YmCrypt.ocx... On VB6 ...when I import the file, so it will make an object,, So I can paste on the form, and I can use it...But On Delphi6, why Can I not do like as on vb6? It can create an unit, but it dont make an object. So My question…
0
votes
3 answers

Delphi CommonAppDataFolder seems un-writeable

I get the common app data folder to store my application related files. Eg log files and ini config files. I use the following code: const CSIDL_COMMON_APPDATA = $0023; function TSpecialFolders.GetSpecialFolder( const ASpecialFolderID:…
Michael Vincent
  • 1,620
  • 1
  • 20
  • 46
0
votes
1 answer

Exception is generated twice by TNMPOP3.Connect

Long time ago I wrote following code to retrieve emails from mailbox: pop3 := TNMPOP3.Create(Self); try pop3.Host := FAppSettings.ServerName; pop3.Port := FAppSettings.ServerPort; pop3.UserID := FAppSettings.Login; pop3.Password :=…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
2 answers

Can't delete folder from a different partition

I'm having a problem when deleting folders that are on a different partition (E:/) from my software. I can delete files, using the DeleteFile function, but I'm not able to delete a folder using the code below: function RemoveDirectory(strDir :…
0
votes
2 answers

Is there a property that tells if a form is deactivated by other form `ShowModal` procedure?

Is there a property that tells if a form is deactivated by other form ShowModal procedure ? EDIT : My program has a tray icon that brings to front the main form when it's clicked. I want to disable this when another window is shown in modal state.…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
0
votes
0 answers

Delphi6 crash on close (Close all or terminate IDE)

I have a Delphi project that will always crash Delphi 6 IDE on either Close All or on exiting the IDE. The only log I can get is this : Problem signature: Problem Event Name: AppHangB1 Application Name: delphi32.exe Application Version: …
Sergio
  • 590
  • 1
  • 9
  • 16
0
votes
1 answer

How to disable TListView edit on item click?

I want to disable entering edit mode when I click on a TListView selected item but not disable it completely (setting property ReadOnly=True). I want to still be able to edit it by other methods. It is possible ?
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
0
votes
1 answer

Delphi TSemaphore source code

I'm looking to make a thread pool. I have found a couple of examples on line, but they use TSemaphore in the SyncObjs library. I'm using Delphi 6 and my SyncObjs doesn't include TSemaphore. I've looked around the net and can't find any source code…
Michael Vincent
  • 1,620
  • 1
  • 20
  • 46
0
votes
3 answers

Displaying Baht Character Symbol in Delphi6

One of our legacy applications is in Delphi6 and we are having trouble in displaying the currency symbol of "Baht" in this application's labels and textedits. We are using the Unicode of Baht to set the text of the labels/textedits (i.e. 0E3F) but…
Bathiya Priyadarshana
  • 1,325
  • 6
  • 22
  • 35
0
votes
2 answers

Delphi DBGrid SetActiveRow only sets visible rows

I am having an issue in setting the active row of DBGrid control. My dataset has more entries than the visible row count in the DBGrid and I want to set the active row to the first row in the entire grid (not just the top of the visible row set). I…
Bathiya Priyadarshana
  • 1,325
  • 6
  • 22
  • 35
0
votes
0 answers

List index out of bound when using Fastmm in Delphi

Iam having one application, in that i need to clear the Memory Leaks by using FastMM. I have added FullDebugMode, LogMemoryLeakDetailToFile in conditional defines. And while closing the application in debug mode, I got List index out of Bounds(0)…
0
votes
1 answer

How can I make a repeat...until structure that has multiple exit parameters?

So my code looks like this **Procedure DisplayMenu; Begin Repeat Writeln('Hello, ' ,PlayerName); Writeln('1. Be Guesser'); Writeln('2. Let The Computer Guess'); Writeln('9. Quit'); Readln(MainMenuChoice); …
0
votes
2 answers

Creating XML attribute Delphi 6

Can anyone help me on writing this line on xml file? SS I've tried something like this: Debtor.Attributes['datatype'] := 'string'; Debtor.Attributes['userfield id'] := 'sociedad'; But when…
user1984193
  • 41
  • 1
  • 1
  • 4
0
votes
1 answer

How to properly set the size of a ListView column according to its content?

I have a number of list view controls (TListView) that are used to display data. All these list view are set to "Detail" mode and all have TImageList assigned to their "SmallIcons" properties. I'm trying to set the width of these column based on…
Stephane
  • 3,173
  • 3
  • 29
  • 42
0
votes
1 answer

How to parse UTC date?

I need to parse UTC date using Delphi 6: 2013-12-24T11:05:01.000+09:00 In Delphi 7 I managed to do this with the following code: Using TXsDateTime: var utcTime : TXsDateTime; localTime : TDateTime; temp : string; begin temp :=…
horgh
  • 17,918
  • 22
  • 68
  • 123