Programming C# C++ (7) Delphi (617) .NET (2) Database (71) Delphi IDE (89) Network (39) Printing (3) Strings (12) VCL (83) Windows with Delphi (280) Java (8) JavaScript (31) perl (9) php (4) VBScript (1) Visual Basic (1)
Exchange Links About this site Links to us 

|
General :: Programming :: Delphi
General Delphi related information.
Articles:
This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.
Featured Article
Recursively delete a group of files and subdirectoriesUse the following routine do delete all files matching a certain mask within
a given directory.
If you set the third parameter to TRUE, subdirectires are scanned/ deleted also.
 | |  | |
procedure DeleteFiles (const Path, Mask : string; recursive : boolean);
var
Result : integer;
SearchRec : TSearchRec;
begin
Result := FindFirst(Path + Mask, faAnyFile - faDirectory, SearchRec);
while Result = 0 do
begin
if not DeleteFile (Path + SearchRec.name) then
begin
FileSetAttr (Path + SearchRec.name, 0);
DeleteFile (Path + SearchRec.name);
end;
Result := FindNext(SearchRec);
end;
FindClose(SearchRec);
if not recursive then
exit;
Result := FindFirst(Path + '*.*', faDirectory, SearchRec);
while Result = 0 do
begin
if (SearchRec.name <> '.') and (SearchRec.name <> '..') then
begin
FileSetAttr (Path + SearchRec.name, faDirectory);
DeleteFiles (Path + SearchRec.name + '\', Mask, TRUE);
RmDir (Path + SearchRec.name);
end;
Result := FindNext(SearchRec);
end;
FindClose(SearchRec);
end;
| |  | |  |
|
| Most recent comments
2010-03-15 15:43:42:
by anonymous
in Dating Scams
on Dating scam artist Sindy Becky Green in Ashley, Ohio (Lagos, Nigeria):
look what she send me fake shit the pic the good one is from 2006 and she tell me she do it now there in that fucking nigerihahahahaahah ahahahahaahahhah fucking scamers
|
2010-03-15 15:16:52:
by anonymous
in Dating Scams
on Dating scammer Natalya from Osinniki, Russia:
esta persona, me contató a traves de hotmail. la carta es similar a lasque he visto en este forocon otros nombres vgr. nelly mukama . chequenla
Hola querida
¿Cómo estás bien hoy en ... read more
|
2010-03-15 15:16:33:
by anonymous
in Dating Scams
on Dating scammer Emmy David from Lagos, Nigeria:
lida mary is beggen me to send her money that her ex husband was a big drug user and use to beet her and ran off with her best friend and wants me to send her money becouse the hotel manger will not g ... read more
|
2010-03-15 15:12:23:
by anonymous
in Dating Scams
on Dating scammer ¡ARMENIAN CONNECTION!:
I from Poland here am also this Russian swindle moneying mafia is acting.
Elena
RosOmsk
lenaramb1@ramblerler.ru
|
2010-03-15 14:37:21:
by anonymous
in Dating Scams
on Dating scammer Olga:
@2010-03-15, 11:17:49
anonymous from Brazil
Bad_nude_performer278278@hotmail.com
|
2010-03-15 14:30:08:
by tallfrenchman74@hotmail.com
in about DelphiFAQ
on DelphiFAQ Site wide search function:
is she a scam?she contacted me and saw my profile on a dating site she seem nice but,i think she might of got caught in a scam of her own and she might be in trouble herself and needed help to leave a ... read more
|
|
2010-03-15 13:23:22:
by [hidden]
in Dating Scams
on Dating scammer Aleksandra:
My scammer is by far the prettiest, sadly she seems to have an identity crisis:
Good day!
Firstly let me to let you know who I am myself. My name is [quote]Nataliya[/quote] and I am live ... read more
|
2010-03-15 13:16:41:
by anonymous
in Dating Scams
on Scammer Jane Mabou from Ivory Coast, Africa:
EN REALIDAD NO SE QUE ESPERAN GANAR ESTAS CHICAS HACIENDO SEMEJANTES MENTIRAS BAI
|
2010-03-15 13:09:52:
by anonymous
in Dating Scams
on Dating scammer Anna:
Et même les camarades, pourquoi pas les recrutés
|
2010-03-15 11:57:06:
by anonymous
in Dating Scams
on Dating scammer Ekaterina:
And now the second photo.
Und jetzt das andere Foto.
|
|