jmoneilthe2
asked on
Auto Adjust Application Size
Is there any way to adjust the size of my VB application so it will accommodate different computer monitor resolutions?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
These URLs will certainly help you:
VB Helper: HowTo: Resize controls to fit when a form resizes
http://www.vb-helper.com/howto_stretch_controls.html
Advanced resize controls options: http://www.a1vbcode.com/snippet.asp?ID=2357
VB Helper: HowTo: Resize controls to fit when a form resizes
http://www.vb-helper.com/howto_stretch_controls.html
Advanced resize controls options: http://www.a1vbcode.com/snippet.asp?ID=2357
Me.WindowState = vbMaximized
If you insist on using the Height/Width properties, use this code:
Me.Height = Screen.Height
Me.Width = Screen.Width
Either example should be placed in the form's Load event.