You're thinking backwards. As a properly behaved app your app should
reformat itself to accommodate the user's preference in screen resolution,
not the other way around. That said, yes, you can screw up the bosses
machine <g> ... see
http://vbnet.mvps.org/code/enums/enumdisplaychange.htm
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
Please reply to the newsgroups so all can participate.
"Joe-Paul" <Ha*********@comcast.net> wrote in message
news:Io******************************@comcast.com. ..
:I am developing with a setting of 1024 X 768. When I install it on my
boss'
: computer, he has a setting of about 800 X 600...and the windows don't
: fit...have to scroll this way and that to get to see everything. If I
: could reset it for my program only when it is running, then there would be
: no problem...just wondered if it could be done...(or even should be
done)...
:
: thanks.
:
: JP
: "Dean Earley" <de*********@icode.co.uk> wrote in message
: news:44*********************@news.zen.co.uk...
: > Joe-Paul wrote:
: >> Is there a way to get the desktop (computer's) display settings (the
size
: >> of the window; i.e. 1024 X 768, etc.) when starting a program...
: >
: > Screen.Width and Screen.Height for the primary monitor only.
: >
: > To get other monitor sizes, look at the multi monitor API:
: >
http://support.microsoft.com/kb/194578/en-us
: >
: >> changing it to what it needs to be for the length of the program and
then
: >> resetting it upon leaving the program?
: >
: > This is probably better implemented with DirectX or OpenGL.
: > Sorry, I cant give any more info about them.
: >
: > Why does your app require a specific screen res?
: >
: > --
: > Dean Earley (de*********@icode.co.uk)
: > i-Catcher Development Team
: >
: > iCode Systems
:
: