Resizing the application resolution according to screen resolution in vb.net
I had developed an application to run on 1024*600 resolution display. But now I want same application to run on 800*600 resolution display. Plz help me...
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vikash MahataPosted Jul 17, 2013, 2:48 PM
Dim X As Integer = My.Computer.Screen.Bounds.Height
Dim Y As Integer = My.Computer.Screen.Bounds.Width
Me.Size = New Size(X, Y)
And Set Properties of the Form:
AutoSize = Ture
AutoSizeMode = GrowAndShrink
Dinesh KumarPosted May 13, 2011, 4:55 AM
Shailesh ShettyPosted May 13, 2011, 4:41 AM
Dinesh KumarPosted May 13, 2011, 4:06 AM
hight : 600 PX
width : 1024 PX
you can use instead
hight : 100 %
width : 100 %
It will automatically resize your application according to the resolution of the application.
Thanks and Regards