Click here to Skip to main content
14,297,338 members
Rate this:
Please Sign up or sign in to vote.
See more:
wants code to that automatically change screen resolution accordingly to the screen resolution . i,e. it should change its resolution automatically when loaded on any computer.
Updated 21-Dec-11 16:46pm

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Please use
MyBase.SetBounds(x:=Screen.PrimaryScreen.Bounds.X, y:=Screen.PrimaryScreen.Bounds.Y, height:=Screen.PrimaryScreen.Bounds.Height, width:=Screen.PrimaryScreen.Bounds.Width)

or you can use form maximize property (maximize the Screen)

check it once

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

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