
August 18th, 2009, 12:53 AM
|
Registered User
|
|
Join Date: Aug 2009
Posts: 2
Time spent in forums: 8 m 8 sec
Reputation Power: 0
|
|
screen resolution setting
Quote:
Originally Posted by kaverao
Hi All,
When I install my VB.net application at client's machine with a different screen resolution setting, the controls on the forms will appear small/distorted according to the resolution.
Please suggest me how can i make my application 'Resolution independent' ?
In addition, the labels (which i sent back during design time) will be displayed in front of the text boxes(overlap). Hence the neatness of the form layout is disturbed. Please suggest me a way to always keep textboxes before labels, in case of overlapping labels & textboxes.
ThanX in advance.....
Venk
|
ANS:
Public Function ScreenResolution() As String
Dim intX As Integer = Screen.PrimaryScreen.Bounds.Width
Dim intY As Integer = Screen.PrimaryScreen.Bounds.Height
End Function
place the control locations
location(x- 500, y- 300)
I think it will work out.... but for each control we need the location specifier
By Jipson PJ (KuTtAn)
|