Legacy CodeThese 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.

Recursive Find Files in Dephi
10th Feb, 2005

Simple and very useful Delphi and Pascal function to Recursive Find Files in Dephi from a given starting directory or drive.

nPos Function in Pascal to Find the nth Position in a String
11th Dec, 2004

nPos Function in Pascal / Delphi which returns the nth position of character in a string, useful if you want the second or third occurrence.

Minimise Delphi Application to System Tray
5th Dec, 2004

A short code snippet which will allow a program icon to be displayed in the application to system tray when the form is minimised.

Using ShellExecute in Delphi to Launch Applications
28th Oct, 2004

How to use ShellExecute functions in Delphi to launch programs and files from your code. Opening files will use the system default editor.

Prevent Multiple Instances of Delphi Application Running
16th Aug, 2004

This code will prevent multiple instances of your application from opening, and pass parameter details to the existing application process.

Integer to Roman Numeral Conversion in Dephi or Pascal
6th Feb, 2004

These Pascal procedures will convert an integer to Roman numeral and a Roman numeral to an integer value. Simply copy and paste to your code

Load CSV Data into a StringGrid in Dephi
6th Feb, 2004

This short procedure will load data stored in a CSV file into a StringGrid in Dephi control for which can be used for display or processing.

Image Tiling in Delphi for Backgrounds and Textures
6th Feb, 2004

A short code snippet in Delphi which will do image tiling in Delphi which is useful when you want an application to have background texture.

Delphi String Case Conversion - Sentence Case, Title Case, Toggle
6th Feb, 2004

Delphi String Case Conversion functions for Title Case, Sentence case or toggle the case (convert upper to lower, lower to upper case)

How to Capture Full Screen or Active Window Screenshot with Delphi
6th Feb, 2004

This short procedure will capture a screenshot with Delphi of the active window or the whole screen which you can manipulate or save.