IsFile
Method
IsFile(strFileName)
IsFolder(strFolderName)
Parameters
strFileName (String - The full path/filename of the file)
strFolderName (String a fully qualified path name)
Returns
Boolean
Example
If Not oUTILITIES.IsFile("C:\MyData\MyIniFile.ini") Then Msgbox "The File does not exist"
If Not oUTILITIES.IsFolder("C:\MyData") Then MsgBox "The Folder Does Not Exist"
These 2 methods allow you a quick and easy way to verify whether a file or folder exist on the file system.