Click to See Complete Forum and Search --> : Adjusting Screen Resolution


nolc
August 20th, 2002, 11:01 AM
Hey-

Do you know of any code that will either change the screen resolution to meet Form/Control size or to change Windows Forms/Controls size to fit the resolution? Since I developed my app with VB.NET in 1024x768...I want all 800x600 users not to be limited on the view of my forms/controls. I have found some VB6 code that gets the screen resolution and then changes it if needed when the app loads and changes it back to the original resolution when the app is killed…but I need .NET code. Any ideas to get around this problem?


Thanks partners…..

Akim
August 20th, 2002, 01:07 PM
Q: What if client's monitor/video card doesn't support your app's resolution?

You'll have to write a function that'll scale your app (form and controls). Well, that'd be an efficient way of doing that.

As for code, no such experience in my life (I always was/am in control of systems, so I make sure all users have 1024x768) :)

nolc
August 20th, 2002, 02:36 PM
Scaling every form and controls would be a pain in my arse, so I like your answer "the user can deal with it or make a change to 1024x768".

thanks

Akim
August 20th, 2002, 03:59 PM
Obviously, that's the easiest way ;)