Search code examples
vb.netvisual-studio-2005.net-2.0

How do I go about designing a form for 960x540 resolution?


I have an application that I am in the middle of development for, and I never took into account the fact that some users may be running their machines at a lower resolution than mine. I can't change the resolution on my machine as it only puts out 1680x1050. Since I've ever only developed applications for myself, I've never thought about the whole resolution aspect of development, so I wouldn't even know where to begin. Unfortunately, I am tied down to VS2005 with the .NET 2.0 framework and MUST use it. Any help towards how to go about starting this would be great, thanks!


Solution

  • 960x540 is a fairly ridiculously old resolution to be supporting, but you can achieve what I think you're wanting simply enough.

    Go to your designer, click on the form. In the Properties pane, change the Size option to whatever minimum resolution you're trying to support, e.g.: 950, 530

    I would recommend, however, that you simply use the above direction for design purposes, so you don't create controls that are off the screen or require scrollbars. What you should also do is set the WindowState to Maximized, what way it will always just fill their screen. In most cases, I believe this is a wise route as most end-users barely know how to browse the internet.