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'
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top