How to find out current Screen resolution?

  • Thread starter pedestrian via DotNetMonster.com
  • Start date
P

pedestrian via DotNetMonster.com

I'm creating WinForm app. I would like to set the form position according to
current Screen resolution. So how could I find the current resolution?

Thanks...
 
G

gene kelley

I'm creating WinForm app. I would like to set the form position according to
current Screen resolution. So how could I find the current resolution?

Thanks...

(VB2005)

In a code window, right-click:
Navigate >Insert Snippet: Windows Operating System > System Information > Determine Desktop
Resolution


Gene
 
H

Herfried K. Wagner [MVP]

pedestrian via DotNetMonster.com said:
I'm creating WinForm app. I would like to set the form position according
to
current Screen resolution. So how could I find the current resolution?

'SystemInformation.WorkingArea­', 'Screen.PrimaryScreen.WorkingA­rea',
'Screen.AllScreens.WorkingArea'.
 

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

Top