Use FindFirst / FindNext and look at the attributes? That would be the
old fashioned way I would do it in BP7.
N
Jeremy Coulter wrote:
>
> Hi all.
>
> I want to write a we project that will display Directories on my HD in an
> HTML page.
> I will write an OCX DLL to do this, but I am not sure how I will distingish
> beteen files and Dir's.
> My first thought was, well if there is a dot in the name, then its a DIR,
> BUT this is not always the case, as sometimes I have seen dir's named with a
> dot in them, so that threw that Idea out the window.
>
> I then found an OCX that does the above, but its less than perfect, and
> since I have no code, I cant really fix it.
>
> Anyone got any ideas ??
>
> Thanks, Jeremy Coulter
>
> ------------------------------------------------------------------------
> Name: winmail.dat
> winmail.dat Type: application/ms-tnef
> Encoding: base64
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz