How to Get a Unique File Name

Posted December 15th @ 9:24 pm by m3Rlin

You want to save data to a temporary file but you don’t what to file name to use? Well, this function does all the work for you.

function CreateUniqueFileName(sPath: string): string;
var
chTemp: Char;
begin
repeat
Randomize;
repeat
chTemp := Chr(Random(43) + 47);
[...]

How to Create Links

Posted December 15th @ 6:50 pm by m3Rlin

Setup programs automatically can create links to your programs on the desktop, in the Start Menu or wherever you want. WinAmp allows you to create links on the desktop, in the Start menu and in the QuickLaunch menu. Wouldn’t it be cool if your program could do the same? There are Delphi components that do [...]

« Previous Entries