Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (1 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.
Posted
Updated 21-Dec-11 16:46pm
v2

1 solution

Please use
VB
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
 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900