Determine if a Directory Exists (VB 6+)
Category:Files and Directories
Author:Intelligent Solutions Inc.
Version Compatibility: Visual Basic 6
In VB6, determining if a directory exists is very easy using the Scripting.FileSystem Object. A reference to the Scripting runtime (SCRRUN.DLL) is necessary
Instructions: Copy the declarations and code below and paste directly into your VB project.