Wayne look at sysutils.findfirst, firstnext and findmatching 

Else have a look at the Win3.1 components (on the component palette) which
give a list of files in a given directory.


Myles.

-----Original Message-----
From: Roser, Wayne [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 25 July 2001 9:45 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: List of file names from a directory


I'm looking for a method to give me a list of filenames from a directory. I
guess it'll look like:
        procedure FileNames(const DirectoryName: string; StringListToReturn:
TStringList);
Can anyone tell me what it is?

Wayne
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to