Roger's Access Library Homepage
Forum Home Forum Home > Roger's Access Library > Roger's Download Samples
  New Posts New Posts RSS Feed - DirectoryList.mdb (intermediate)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login


Please consider donating $1 per sample downloaded, (find out why here)

DirectoryList.mdb (intermediate)

 Post Reply Post Reply
Author
Message Reverse Sort Order
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP


Joined: 20 Feb 2008
Status: Offline
Points: 249
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: DirectoryList.mdb (intermediate)
    Posted: 01 Aug 2008 at 5:13am

Please consider donating $1 per sample downloaded, find out why here.
 

DirectoryList.mdb

This sample shows how to "role your own" directory/file list.

It uses the Shell() function to run a DOS DIR command and pipe it to a text file. Then imports the text file into a table. It does it first with the Directories under a drive and then with the file under the directory.

See the code behind the form for details.

Also check out the Modules for other applications of this technique.
 
Download
Access 97 (43 KB):
DirectoryList97.zip
Access 2000 ADO (62 KB):
DirectoryList2k.zip

Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down