How do I search for files in subdirectories?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an access table with a file names of images (*.bmp or *.jpg) in a
column.

I want to use the file name from the table and search for it in
subdirectories so that I can display the image.

Any help will be greatly appreciated.

Thanks...
 
Hi,
how are you planning to display the images? with an image
control? if so then what you need in your table are the
file paths to the images not just their names.
to display the image set the image control's picture
property to the file path of the image you want displayed.
Post back if you have more questions or to clarify if i
got confused.
 
I don't want to have to add a static path to the record since subdirectories
can be added with images. Can something in the lines of "FileSearch" be used?
 
hi,
sorry to be so long getting back. Accounting lost a half
million $ and i had to find it.
I am still assuming that you will be useing an image
control to display the image.
the image control will still need the full file path
regarless.
even if you did use a FileSearch you would still need code
to to set the file path in the image control's picture
property. and i am not aware if you could use a file
search and incorporate that into the code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top