Detecting Screen resolution

  • Thread starter Thread starter Greg Smith
  • Start date Start date
G

Greg Smith

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

Any help is greatly appreciated.
 
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 said:
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'
 
Back
Top