473,473 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Open Windows Explorer at specific position and size

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
4 8886
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
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
<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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: F | last post by:
I'm trying to open a window in a specific position of the screen with this script: window.open('window.htm','mywindow','width=250,height=350,screenX=20,screenY =100') it works with Netscape...
3
by: Web Webon | last post by:
Hi everybody! I wonder if this is possible? I need to determine if a client is using "windows classic folders" or anything else. If I instantiate a Shell ActiveX object is there a way of...
4
by: Ian Sedwell | last post by:
Hi guys The following code works just fine in Netscape on MacOS and Windows. But in Explorer on MacOS and Windows it throws a type mismatch error at the point marked with the comment ³// bug out...
27
by: Mike | last post by:
Open source programs in general suck pretty bad also. Here are some loose facts regarding why projects like Linux, PHP, MYSQL, and other open source programs suck: - Linux is simply a clone of...
5
by: Nathan Sokalski | last post by:
How do I open and change properties of (such as size, position, scroll position, visibility of toolbars, etc.) a browser window? Thanks. -- Nathan Sokalski njsokalski@hotmail.com...
2
by: Sin | last post by:
Hello everyone, I'm totally stumped at how little info I can find in MSDN or on the web concerning this. It's almost as if only microsoft personel hold the key to these secrets or something!!! ...
3
by: Mark | last post by:
I'd like to open up Windows Explorer from my .NET desktop application to a specific path. I essentially want to execute: %Systemroot%\explorer.exe c:\somepath\ How can this be done? Thanks...
1
by: DaveG | last post by:
Hi All I am having a small problem with window.open() obviously something I am or am not doing. This is being fired from a subwindow. Everytime I use just the location.href = "URL" I got a...
3
by: dibakar | last post by:
Hello I want to open a window using Window.showModalDialog once i click inside of a TextBox.And that window need to come just under the TextBox,so that it seems to a same control. So,what...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.