check db for file and add to listbox

fresh1207

Member
Joined
Jan 5, 2007
Messages
6
Programming Experience
1-3
I have a program that search for files. I created an access table that include excluded files and file paths. Here are the fields:

ExcludePath:
C:\Windows\Media\recycle.wav
C:\Windows\explorer.exe
C:\Windows\Help\camera.chm

ExcludeFileName:
recycle.wav
explorer.exe
camera.chm

I need to know how to check this table to see if the file exist. For example, if the file exist in the db then add ExcludeFileName to listbox2.
 
Back
Top