Windows Explorer

S

Samuel

Hello.

Is it possible to use automation with windows explorer?

I want to open a folder to allow the user to select a file.

Any ideas?
Sam.
 
A

Allen Browne

To open the Windows File Open dialog for the user to select a file, and
receive the file name in code, see:
Call Windows File Open/Save Dialog box
at:
http://www.mvps.org/access/api/api0001.htm

If you just want to open the Windows Explorer without needing to know what
was selected, use:
Application.FollowHyperlink("C:\MyFolder")
 
S

Samuel

I was hoping to get the name of the file selected in
Explorer.

I think i saw a thread explaining how to use a switch in
the shell call to explorer.exe but cant find it again now?

Thank you for the help.
Sam
 

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