Source code for directory search

G

Guest

I am developing an inventory control system. In the form updating the details
of specific part, I would like to search the system file directory and save
in Parts table, the path (i.e...D:\ICS\drwaing\ test.dwg) of the file
containing the AutoCAD drawing of the part.
Appreciate your help how I can do that.

Thanks.
 
G

Guest

Hi Joseph,

You can use the Microsoft Common Dialog control to handle this for you...

There are plenty of code examples available for that on the web. google
"microsoft common dialog control example" and you'll find a heap of code
samples to choose from.

Damian.
 
J

John Nurick

Hi Joseph,

Do you want to display a dialog where the user can select a file, or do
you want your code to search the "system file directory" for a file with
a particular name?

If the former, see www.mvps.org/access/api/api0001.htm .
If the latter, maybe the Dir() function is what you need.
 

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

Top