delphi-2006
How do I get Delphi 2006 TStringList.LoadFromFile to load UTF-16 files
I have a Delphi 2006 app that I am adding code to process some generated CSV data files.TStringList.LoadFromFile was giving strange results and I have just worked out the files are UTF-16 encoded.[详细]
2023-03-16 14:19 分类:问答The free Delphi 2006 compiler
On Wikipedia I read: Borland Delphi 2006 [...] Each version is available in two editions: Explorer—a free downloadable[详细]
2023-03-10 08:58 分类:问答How to find out the name of the common documents folder on a network machine
Given that I am executing an EXE file (D2006 app) on a machine across the network, how can I get the pathname to the commondocs folder on that machine, given that the EXE might have been invoked from[详细]
2023-03-07 16:44 分类:问答Delphi - How do I break when a form's ComponentCount decrements
The code below is reproduced from Toolbar2000.It is part of routine that reads toolbar positions and dock states from an INI file.I call this routine during initialisation.This code below is iterating[详细]
2023-03-01 00:20 分类:问答Delphi TPrinters.GetPrinters call hangs
I have an app that has returned an error report.The app is written in Delphi 2006 and hangs during startup.The MadExcept main thread stack is shown below.I suspect there is no default printer but I ca[详细]
2023-02-27 03:52 分类:问答Delphi - ExtractFileName messes up unicode
I am using ExtractFileName of a WideString that equals to \'STF:宋体\'. The result is \'??\'. It seems that ExtractFileName does not handle unicode well.[详细]
2023-02-21 22:04 分类:问答How does a DBGrid component determine initial column widths to display?
I\'m having a difficult time saving/reloa开发者_JAVA百科ding col widths in a DBGrid (actually TMS\'s DBGrid). TMS includes built-in methods to save/reload col widths, which are working correctly (I ca[详细]
2023-02-20 13:50 分类:问答Delphi 2006: Run-time assignment of PNG to TImage loses alpha transparency
Delphi 2006\'s TImage doesn\'t quit开发者_如何学运维e support PNGs.In order to have images with alpha transparency on my forms I have to load them at run-time.I can load them at design time but they d[详细]
2023-02-17 20:46 分类:问答Convert RTF image data to plain text (SQL Server and Dephi BDS 2006)
Been struggling with this one for a while.We have a old table (SQL Server) that has image type data. I want to get the text.[详细]
2023-02-16 10:11 分类:问答What is the simplest way to add an AlphaBlendValue property to Delphi's TImage
I have a \"caution\" image on a dialog that is shown if there are questionable parameter values.Users do not always notice it, so I want to fade it in and out cyclically over a second or so (yes, I co[详细]
2023-02-09 05:20 分类:问答