File System Object Module

Category:
Files and Directories
Type:
Modules
Difficulty:
Intermediate
Author:
Kenneth Ives

Version Compatibility: Visual Basic 6

More information:
This module encapsulates much of the functionality of the File System Object. It allows you to, among other things:
  • List all Available Drives.
  • Delete a Folder and All its SubFolders.
  • Determine if a Drive, File, or Folder Exists.
  • Retrieve a File's Attributes
  • Create a Directory
  • Search a Directory for a File
Each method is fully documented. This is an excellent module for learning purposes as well as everyday usage.

The latest version, uploaded 04/23/01, adds more documentation and events to display item counts as they are in process of being calculated.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download fso.zip