Screen resolution

M

Michel Vanderbeke

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
 
G

Guest

Michel Vanderbeke said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top