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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Dinesh Kumar14 reputationPosted May 13, 2011, 12:06 AM EDT
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
Shailesh Shetty5 reputationPosted May 13, 2011, 12:41 AM EDT
Dinesh Kumar14 reputationPosted May 13, 2011, 12:55 AM EDT
Vikash Mahata4 reputationPosted Jul 17, 2013, 10:48 AM EDT
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