How to get screen resolution?
500 B.C. - 2011 Originally Posted by techgnome VB's ' has twice the power of C's / ... that's why it takes two / to equal one ' -tg
How about vb.net Code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show(My.Computer.Screen.Bounds.Size.ToString) End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MessageBox.Show(My.Computer.Screen.Bounds.Size.ToString) End Sub
What have you tried? This link looks promising: http://social.msdn.microsoft.com/Sea....PrimaryScreen
My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer << "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein
Forum Rules