These articles relate to legacy code, that is, code which I no longer support or even work with. You will find some snippets and also full applications. Were possible they are accurate and up to date, however, you may find that newer versions of language or compilers, operating systems and hardware may cause problems running this code.
Simple and very useful Delphi or Pascal function to find files recursively in a given directory.
Return the nth position of string character within a string.
Code snippet which will allow a program icon to be displayed in the system tray when the form is minimised.
Launch files and programs from your code using Delphi.
This code will prevent another instance from opening, and pass parameter details (such as file open command) to the existing application.
These Pascal procedures will convert an integer to the Roman numeral and a Roman numeral to an integer value.
This procedure will load CSV data stored in a file into a StringGrid control for display or processing.
This procedure will take a TImage instance loaded with a bitmap, and tile it over the area of the destination. Use for creating seamless background textures on forms or controls.
This procedure will get the file size, in bytes, of a specified filename.
These procedures will convert the case of a string to Title case, Sentence case or toggle the existing case (convert upper to lower and lower to upper case)