Article View: borland.public.cppbuilder.nativeapi
Article #1662Re: Directory Contents
From: Remy Lebeau (TeamB)
Date: Wed, 27 Jun 2007 16:57
Date: Wed, 27 Jun 2007 16:57
19 lines
1571 bytes
1571 bytes
"Jeff" <Jeff@nospam.com> wrote in message news:46829425@newsgroups.borland.com... > Does anyone know a way to obtain a list of files in a directory > without opening any of the files? You already know how to do that, because you are already doing it. The Find...() functions do not open any of the files at all. > When I use the code below FindFirst() returns 5 (Access denied) > because another application has the files open. That should not be factor. Something else has to be causing the issue. You probably don't have access to the folder itself that you are trying to scan through. Gambit
Technical Details
Message-ID:
<468298db$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46829425@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e2485f93863e826a X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <46829425@newsgroups.borland.com> Subject: Re: Directory Contents Date: Wed, 27 Jun 2007 09:57:09 -0700 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 75.82.252.126 Message-ID: <468298db$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1182963931 75.82.252.126 (27 Jun 2007 10:05:31 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail