Working project example of how to search all the folders on the disk of your computer for files.
This zip file has two project that do exactly the same thing, that is Scan the hard disk for files. now the project in the zip file ScanFolders.zip uses the FileSystemObject Method to Scan and the ScanFolders2.zip file uses API calls to Scan.
You will see that the FileSystsem Object project has a completion speed of at least four times greater than the project with the API calls.
This does not mean that you should not use the FileSystemObject method. it just means that you should not use it when there is a lot of scanning to do. The FileSystemObject method is easier to code and understand which is a plus.
A comparison against Dir$ would be great. Though, you should restart your computer before each benchmark, since search time greatly improves on second time (atleast on WinXP with Dir$-command and a harddisk with 8MB cache).