|
-
August 14th, 2001, 02:20 AM
#1
How to get all files on a directory
Hi,
I want to schek all file on a specific directory. but I don't know how to get them automaticaly. Do you have a method ( VBcode ?) to retrieve those information in list or a table ?
Thanks in advanced for your answers.
Arnaud.
-
August 14th, 2001, 04:03 AM
#2
Re: How to get all files on a directory
refer http://vblib.virtualave.net, there should be a function GetAllFileName in vbFileIO.
HTH
cksiow
http://vblib.virtualave.net - share our codes
-
August 14th, 2001, 04:36 AM
#3
Re: How to get all files on a directory
No API required:
Dim sFilename as string
sFilename = Dir("*.*")
While sFilename <> ""
Debug.print sFilename
sFilename = Dir
Wend
Hope this helps,
Duncan
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|