Click here to Skip to main content
14,240,388 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have developed an application in vb.net in 1280*800 resolution.
When I install the application on m/c where resolution is lesser than I developed..
how to do it while runtime...else I have to re-develop whole project.
Posted
Updated 28-Feb-11 5:45am
v3
Rate this:
Please Sign up or sign in to vote.

Solution 1

Reducing the resolution is very tricky: if you have filled the available screen space at 1280*800 then you would have to reduce the size of all your controls proportionately. While this is fairly simple in WPF, in Winforms there is nothing to really help you.

I would suggest that the only thing you can do is look at redesigning your screen layout to allow for greater flexibility in the screen resolution (look at how VS shows things for an example of how to design for flexibility) or do you initial design for a lower resolution.

Sorry, but that's the way it goes.
   
Comments
Manfred Rudolf Bihy 28-Feb-11 4:15am
   
Maybe hard to swallow, but true! 5+
Sergey Alexandrovich Kryukov 28-Feb-11 11:34am
   
This is the only valid way. My 5.
--SA
Sergey Alexandrovich Kryukov 28-Feb-11 11:39am
   
I added my recommendations from other Questions. Some of them address size-independent aspects.
--SA
Rate this:
Please Sign up or sign in to vote.

Solution 3

I'm absolutely agree with Manfred's answer. The flexible design is not so simple.

Please look at my recommendations here: GUI Apperance - C#.Net[^] and here Zom Out malfunctions when Screen resolution changes[^].

Good luck,
—SA
   
v2
Rate this:
Please Sign up or sign in to vote.

Solution 2

you can use anchor option in your application
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100