Is there a way to read what the screen resolution is set to on the system
running your application?

Any help is greatly appreciated.

Re: Detecting Screen resolution by Tom

Tom
Thu Jun 03 13:45:58 CDT 2004

Take a look at the static Screen values.

Screen.PrimaryScreen.Bounds

should give you what you are looking for. Of course, if your users might
have multiple monitors, that might complicate things for you.

Tom Clement
Apptero, Inc.


"Greg Smith" <gjs@umn.edu> wrote in message
news:OG%23iofZSEHA.3020@TK2MSFTNGP10.phx.gbl...
> Is there a way to read what the screen resolution is set to on the system
> running your application?
>
> Any help is greatly appreciated.
>
>



Re: Detecting Screen resolution by hirf-spam-me-here

hirf-spam-me-here
Thu Jun 03 14:13:38 CDT 2004

* "Greg Smith" <gjs@umn.edu> scripsit:
> Is there a way to read what the screen resolution is set to on the system
> running your application?

Monitor size:

'SystemInformation.PrimaryMonitorSize'
'SystemInformation.WorkingArea'
'SystemInformation.VirtualScreen'
'Screen.PrimaryScreen.Bounds'
'Screen.PrimaryScreen.WorkingArea'

When using multiple monitors:

'Screen.AllScreens'

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>