Reputation: 1290
I need to know how i can know the Screen resolution within vb-2010, show the Screen resolution in "TextBox" for example. And know the account name, if i can.
Upvotes: 0
Views: 83
Reputation: 328
you can use
Dim screenWidth as Integer = Screen.PrimaryScreen.Bounds.Width
Dim screenHeight as Integer = Screen.PrimaryScreen.Bounds.Height
Read more from this, excellent explanation from Cody Gray
Upvotes: 1