I would like to check if a directory is empty and I can not get it to work. What I am doing is storing the path in a string e.g. "D:\Somedirectory\*.*" and using the dir function in Access to check if it exists. When I search for the directory, it returns "." which means there is something in that directory when there actually isn't. If I search for a specific file such as "d:\somedirectory\*.xls", it returns null which is true. Is using the "*.*" a wrong method of checking whether or not a directory exists?
Your help is appreciated!
Thanks
Rosh
Your help is appreciated!
Thanks
Rosh