By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,560 Members | 1,070 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,560 IT Pros & Developers. It's quick & easy.

Open Windows Explorer at specific position and size

P: n/a
Is there a way I can open Windows Explorer at a specific folder, size
the window, and position it in relation to the (already opened) Access
window? I have a client who wants this capability. It would be great
if I can do it inside an Access control, but I guess that's asking a
bit much?
Aug 26 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Explorer does accept many command line parameters.

I'm not sure about size/location, but if you want it to open with the
Folders view at left, to a particular folder (say MyPath), and select a
particular folder in the right pane (say MyFolder), you would Shell
something like this:
"%SystemRoot%\explorer.exe /e, /select, ""C:\MyPath\Folder"""

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<te**********@gmail.comwrote in message
news:f6**********************************@s20g2000 prd.googlegroups.com...
Is there a way I can open Windows Explorer at a specific folder, size
the window, and position it in relation to the (already opened) Access
window? I have a client who wants this capability. It would be great
if I can do it inside an Access control, but I guess that's asking a
bit much?
Aug 26 '08 #2

P: n/a
Thanks Allen that nearly solves it - but still can't position and
size ... is it possible to do it with an API or something - like shell
explorer and get the processid and set some properties?
Sep 3 '08 #3

P: n/a
<te**********@gmail.comwrote in message
news:3f**********************************@q5g2000p rf.googlegroups.com...
Thanks Allen that nearly solves it - but still can't position and
size ... is it possible to do it with an API or something - like shell
explorer and get the processid and set some properties?
I don't know a simple way to get that happening, Terry.
Perhaps someone else can suggest something for you.

In case you don't get responses, here's a generic API source of VB code:
http://vbnet.mvps.org/

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
Sep 3 '08 #4

P: n/a
If you're looking to open the Windows File/Open/Save dialog, go to:
http://mvps.org/access/api/index.html

Steve

<te**********@gmail.comwrote in message
news:f6**********************************@s20g2000 prd.googlegroups.com...
Is there a way I can open Windows Explorer at a specific folder, size
the window, and position it in relation to the (already opened) Access
window? I have a client who wants this capability. It would be great
if I can do it inside an Access control, but I guess that's asking a
bit much?

Sep 5 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.