'File Not Found' error 
Author Message
 'File Not Found' error

I have written a module that uses "Application.FileSearch" to scan my
hard drive for .MDB files.  It then appends the filenames (including
path) along with the file size to a table.  Along with the .mdb's that
actually exist, it returns and appends the path to a database called
"db1.mdb" that doesn't actually exist so I get a run-time error when
trying to append the file size to the table.

How do you check to see if a file exists before referencing it?
Why do you suppose this phantom .mdb is being "found"?

Thu, 01 Feb 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. VB4 - Error 53 'File not found'

2. Help: Run-time error '48': File not found: Cards.dll (0/1)

3. Help: Run-time error '48': File not found: Cards.dll (1/1)

4. VB4 - Error 53 'File not found'

5. Run-time error '48': File not found

6. Using OPENDATABASE, get 'file not found' error?

7. Shell command gives 'file not found' error on Windows NT but works on my own PC

8. DateDiff gives 'File Not Found' error???

9. How to avoid 'File not found' errors

10. 'Element not found' error

11. Error '48' DLL not found

12. Error '48' DLL not found


Powered by phpBB® Forum Software