By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,887 Members | 1,113 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,887 IT Pros & Developers. It's quick & easy.

Screen resolution

P: n/a
Hello,

Can someone help me with tips and code on how to make a VB.NET 2005 program
fit to any screen resolution, the user might have.
Is there a standard resolution in which I have to make the program, so it
can be adjusted through code on every possible resolution that is on the
users PC?

Many thanks and greetings,

Michel

Mar 31 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Michel Vanderbeke" wrote:
Hello,

Can someone help me with tips and code on how to make a VB.NET 2005 program
fit to any screen resolution, the user might have.
Is there a standard resolution in which I have to make the program, so it
can be adjusted through code on every possible resolution that is on the
users PC?
Well I guess that would depend on how much screen space your application
took up. What you'd need to do is to design it for the lowest resolution
(640x480) and use containers like the TableLayoutPanel to organise your
form. You can then either allow your controls to grow as the screen size does
or you can include empty headers and footers in the application the take up
the redundant space as the form changes.

Also remember that there are many, many resolutions such as 1024x768,
1280x1024 etc., but that doesn't mean that the user wants to view your
application full size. So adopting an approach similar to that one above
will, in my opinion, give you the best results.

HTH

--
Regards,

Bubba

Apr 2 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.