August 23, 2005
When creating an association in ECO you are not guaranteed the order in which the objects at the end of the association will be presented. For this reason ECO provides a...
August 15, 2005
Not only is Application.ProcessMessages quite long to type, often extra functionality needs to be called when its used. To this end I have created two basic wrappers which...
August 14, 2005
In this article I’ll use the term “Identity” interchangeably to note Auto generated (from RDMS) values usually for a column representing the primary key of a table. These...
August 9, 2005
You will need the function in this article (http://www.howtodothings.com/ViewArticle.aspx?Article=760) to get this working properly
function ParamExists(const ParamName: string):...
August 9, 2005
(* GetParameterValue
GetParameterValue will return the value associated with a parameter name in the form of
/paramname:paramvalue -paramname:paramvalue
and
/paramname -paramname
...
August 9, 2005
function GetFileSize(const FileName: string): Integer; var sr: TSearchRec; begin Result := 0;
if FindFirst(FileName, faAnyFile, sr) = 0 then begin...
August 9, 2005
Have you ever found yourself adding the same code to different forms? Well now you can use the following as a base class for all forms.
=============== BEGIN...
August 9, 2005
Personally I find both the WinAPI MessageBox and Application.MessageBox and MessageDlg functions cludgy and always add the following function to every app.
function MsgBox(const...
August 9, 2005
The following function will attempt to remove the read only flag on a file, you will need the function in this article (http://www.howtodothings.com/ViewArticle.aspx?Article=755).
...
August 9, 2005
The following function will return True if a file is read only.
function IsReadOnly(const FileName: string): Boolean; var sr: TSearchRec; begin (* Assume not read...