Determine if a File Exists (VB 6)
Category:Files and Directories
Author:Intelligent Solutions Inc.
Version Compatibility: Visual Basic 6
In VB6, determining if a file exists is very easy to do 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.