Nov 14, 2005 #1 Bvisual Programmer Joined Jul 1, 2005 Messages 35 Location BE how can you get the system values of the screen a persone is using you now lik 800x600, 1280x800 thx
Nov 14, 2005 #2 chiph Programmer Joined Jun 9, 1999 Messages 9,878 Location US System.Windows.Forms.Screen.Bounds() will return a Rectangle object, which is the screen resolution. Chip H. ____________________________________________________________________ Donate to Katrina relief: http://s1.amazon.com/paypage/PELYGQVJ8Q7IB/103-6821258-5919825If you want to get the best response to a question, please read FAQ222-2244 first Upvote 0 Downvote
System.Windows.Forms.Screen.Bounds() will return a Rectangle object, which is the screen resolution. Chip H. ____________________________________________________________________ Donate to Katrina relief: http://s1.amazon.com/paypage/PELYGQVJ8Q7IB/103-6821258-5919825If you want to get the best response to a question, please read FAQ222-2244 first
Nov 14, 2005 #3 RonRepp Technical User Joined Feb 25, 2005 Messages 1,031 Location US Shouldn't this be: Dim R As Rectangle R = System.Windows.Forms.Screen.PrimaryScreen.Bounds Just wondering. Ron Ron Repp Upvote 0 Downvote
Shouldn't this be: Dim R As Rectangle R = System.Windows.Forms.Screen.PrimaryScreen.Bounds Just wondering. Ron Ron Repp
Nov 14, 2005 #4 chrissie1 Programmer Joined Aug 12, 2002 Messages 4,517 Location BE How brave, correcting chiph. Christiaan Baes Belgium I just like this --> [Wiggle] [Wiggle] Upvote 0 Downvote
Nov 14, 2005 #5 chiph Programmer Joined Jun 9, 1999 Messages 9,878 Location US Nope, he's right. Bounds is a property, not a method. My bad. Chip H. ____________________________________________________________________ Donate to Katrina relief: http://s1.amazon.com/paypage/PELYGQVJ8Q7IB/103-6821258-5919825If you want to get the best response to a question, please read FAQ222-2244 first Upvote 0 Downvote
Nope, he's right. Bounds is a property, not a method. My bad. Chip H. ____________________________________________________________________ Donate to Katrina relief: http://s1.amazon.com/paypage/PELYGQVJ8Q7IB/103-6821258-5919825If you want to get the best response to a question, please read FAQ222-2244 first