How to find out current Screen resolution?

  • Thread starter Thread starter pedestrian via DotNetMonster.com
  • Start date 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...
 
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
 
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'.
 
Back
Top