Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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.
 
Share this answer
 
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
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
 
Share this answer
 
v2
you can use anchor option in your application
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900