B
Brian
This is likely application-specific, but perhaps someone can give me a hint,
anyway.
How do I open an application from Access, but use the last known window
state (max, restore, min) & position of the app, rather than opening it in
relation to my Access app?
Windows is aware of that location somehow, because, when opening the app
from the desktop or start menu, it always opens in the position of the last
close.
In particular, I am sending points to MapPoint on a system that has dual
monitors. MapPoint always opens in front of my Access app when I instantiate
MapPoint. The user then has to drag it to his other monitor to get it out of
the way of my form while interacting with both my form and the points on the
map.
I cannot hard-code the screen position of the other app to be maximized on
the second display, or someone with one monitor will not be able to see the
app because the left edge of the app will be just outside the right edge of
the display.
I know that some apps store last window state/position in ini files, and I
suspect it may be in the registry somewhere.
anyway.
How do I open an application from Access, but use the last known window
state (max, restore, min) & position of the app, rather than opening it in
relation to my Access app?
Windows is aware of that location somehow, because, when opening the app
from the desktop or start menu, it always opens in the position of the last
close.
In particular, I am sending points to MapPoint on a system that has dual
monitors. MapPoint always opens in front of my Access app when I instantiate
MapPoint. The user then has to drag it to his other monitor to get it out of
the way of my form while interacting with both my form and the points on the
map.
I cannot hard-code the screen position of the other app to be maximized on
the second display, or someone with one monitor will not be able to see the
app because the left edge of the app will be just outside the right edge of
the display.
I know that some apps store last window state/position in ini files, and I
suspect it may be in the registry somewhere.