advertisement

Find Code  Advanced Search   

Free Newsletters:   
browse free vb code
Submit Code
ASP,  HTML, and XML
Database
Dates  and Math
Files  and Directories
Forms  and Controls
Lists,  Collections, and Arrays
Miscellaneous
Multimedia/Games
Office/VBA
Network/Internet
Registry
Screen/Graphics
String  Manipulation
System/API
Windows  2000/XP
VB.NET/ASP.NET



advertisement
File System Object Module

Author: Kenneth Ives (Featured Developer)
Category: Files and Directories
Type: Modules
Difficulty: Intermediate

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.

This code has been viewed 132306 times.

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.

code/FSO.zip

Sponsored Links