|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to find out current Screen resolution?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... -- Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-vb-net/200608/1 On Sun, 27 Aug 2006 00:57:05 GMT, "pedestrian via DotNetMonster.com" <u16758@uwe> wrote: (VB2005)>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... In a code window, right-click: Navigate >Insert Snippet: Windows Operating System > System Information > Determine Desktop Resolution Gene What a brilliant trick... I don't even know there're such useful "insert
snippet" in VS... Thanks a million Gene! gene kelley wrote: Show quoteHide quote >>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... -- Regards, Pedestrian, Penang. Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-vb-net/200608/1 "pedestrian via DotNetMonster.com" <u16758@uwe> schrieb: 'SystemInformation.WorkingAreaÂ', 'Screen.PrimaryScreen.WorkingAÂrea',> 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? 'Screen.AllScreens.WorkingArea'. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Thanks, Herfield.
Herfried K. Wagner [MVP] wrote: Show quoteHide quote >"pedestrian via DotNetMonster.com" <u16758@uwe> schrieb: >> 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'. >
How can I use a dll with several programs?
What exactly does this message mean? vb2005 and ce net 4.2 DatagridView Column Headers Are codes ran in try blocks expensive? books for vb.net Binding Data to Dataset or Table in VB, String '=' is two orders of magnitude slower than .Equals! disable/enable menu items sqlexpress |
|||||||||||||||||||||||