0

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.

Mousa Alfhaily
  • 1,260
  • 3
  • 20
  • 38

1 Answers1

1

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

Community
  • 1
  • 1
WindyHen
  • 318
  • 2
  • 6