Click here to Skip to main content
12,511,920 members (52,344 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
How to Fit Vb.NET 2008 forms according to Windows Resolution

Can any one help it's urgent
Posted 10-Oct-12 20:23pm
bdspl322
Updated 11-Oct-12 8:11am
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

It is combination of many things like properties: Anchor, Dock, Autosizemode , WindowState and some code. Specify what you want to do?
  Permalink  
Comments
bdspl 11-Oct-12 6:28am
   
Thanks Rahul
I have an application in VB.NET 2008 which seen in desktop and laptop in difference mode b'cause of resolution
if u could give me code or the method it will be very use full to me
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

You should also have a look at scale method. You can take a ratio of your designed resolution with the system resolution

NOTE: Remember you might need to adjust component locations, there should be some space available for controls to expand. Otherwise components will overlap.

As I have experienced, it would be great if you will design a form on low resolution and scale it to some high resolution when use.

Hope it helps!
  Permalink  
v3

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160929.1 | Last Updated 11 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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