What is the equivalent of Screen.Width in VB.NET?

esposito

Centurion
Joined
Jul 11, 2003
Messages
103
Location
Perugia - Italy
Hello, I can't translate into VB.NET the following simple VB6 line of code:

Form1.Width = Screen.Width

As you know, this way you could set the width of Form1 equal to that of the screen.

Can anybody help me?

TIA
 
Back
Top