Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Controlling screen size and display screen

Status
Not open for further replies.

angel106

Technical User
Aug 1, 2005
39
0
0
US
I'm working in .net 2003 and when i create a project its always at the screen size 1280x1024 well most of my users that my programs run on only have the 1024x768. How can i control the screen size?
 
You probrably don't want to be changing your user's screen size. If their monitor/graphics card cant handle the new size it will likely be hard for to see the app at all. And if the app crashes while in the different screen mode, they may not know how to change it manually.

I would recommend checking the screen size (screen.PrimaryScreen.WorkingArea I beleive) and then adjusting your form's size accordingly. Using the anchor property on your controls can make resizing significantly easier.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top