how to manage files in access
I used to write code to script to manage files in the old version of access .But in access2003 it won't work even though I turn off the sandbox mode.Let's find the errors in my code.
dim fs as Object
set fs=Application.FileSearch
fs.Lookin="d:\bird"
fs.filename="*.mdb"
if fs.exe() > 0 then
msgbox "found"
else
msgbox "Not found"
end if
when i debug this code it's alway show "Not found"
Can you tell me why?Thanks.
|