Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form size, object position

Status
Not open for further replies.

Bvisual

Programmer
Jul 1, 2005
35
0
0
BE
how can you get the system values of the screen a persone is using


you now lik 800x600, 1280x800

thx
 
System.Windows.Forms.Screen.Bounds() will return a Rectangle object, which is the screen resolution.

Chip H.


____________________________________________________________________
Donate to Katrina relief:
If you want to get the best response to a question, please read FAQ222-2244 first
 
Shouldn't this be:

Dim R As Rectangle
R = System.Windows.Forms.Screen.PrimaryScreen.Bounds

Just wondering.

Ron

Ron Repp
 
How brave, correcting chiph.

Christiaan Baes
Belgium

I just like this --> [Wiggle] [Wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top