API for selecting directory

S

SF

Hi.

I have a form to let user export some predefined query. I want to provide
user a way to browse to his/her directory. Is there a way to call api so
that user can browse to that directory and save the directory path in a text
box?

SF
 
T

Tony Toews [MVP]

SF said:
I have a form to let user export some predefined query. I want to provide
user a way to browse to his/her directory. Is there a way to call api so
that user can browse to that directory and save the directory path in a text
box?

In addition to Arvin's response Stephen Lebans www.lebans.com has some
API code that will open the folder browser at the folder specified.
This can be quite nice for the user as it can start at either a
location previously specified or at, for example, C:\Documents and
Settings\<user name>\AppData\<your app folder>

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 

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