|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Get and Set screen resolutionMy VB.Net app requires a minimum monitor resolution of 1024 x 768.
How to get user's screen resolution and set it to the minimum at runtime? Thanks Bill Bill,
Here a link I saw that was provided in a message by Terry in this newsgroup. http://www.omniscium.com/index.asp?page=DotNetScreenResolution I hope this helps, Cor Hi Bill,
> My VB.Net app requires a minimum monitor resolution of 1024 x 768. You can get the screen resolution with> How to get user's screen resolution and set it to the minimum at > runtime? Thanks Screen.PrimaryScreen.Bounds ... To change the screen resolution you need Windows API. But you shouldn't do it, the resolution of the screen is something you should never touch. Regards, Frank Eller www.frankeller.de "Bill Nguyen" <billn_nospam_please@jaco.com> schrieb: Monitor size:> My VB.Net app requires a minimum monitor resolution of 1024 x 768. > How to get user's screen resolution and set it to the minimum at runtime? 'SystemInformation.PrimaryMonitorSize' 'SystemInformation.WorkingArea' 'SystemInformation.VirtualScreen' 'Screen.PrimaryScreen.Bounds' 'Screen.PrimaryScreen.WorkingArea' When using multiple monitors: 'Screen.AllScreens' Changing the screen resolution <URL:http://dotnet.mvps.org/dotnet/faqs/?id=setscreenresolution&lang=en> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> "Bill Nguyen" <billn_nospam_please@jaco.com> wrote in message That's rather forward of you. Personally, I'd be askingnews:u%23ojkw$OFHA.3788@tk2msftngp13.phx.gbl... > My VB.Net app requires a minimum monitor resolution of 1024 x 768. "What is the minimum monitor resolution [likely to be] used by my user community?" > How to ... set it to the minimum at runtime? You don't, even if you could assume that every monitor runningyour application could [properly] support the resolution you want. Users choose their screen resolution based on their physical requirements (or esoteric leanings or just plain bl**y-minded awkwardness); your applications, PITA though it may be, should honour this. Regards, Phill W.
Newbie Question - Please HELP!
dataset inheritance How to access aspx page thru the menu control only? How to Move Mouse to Control with Focus Why aren't changes on form? conversion issue Outlook ContactItem.Display and .NET How to name a thread? Remote debugging: Unable to map the debug start page URL to a machine name XMLReader and VB.Net |
|||||||||||||||||||||||