Results 1 to 3 of 3

Thread: [RESOLVED] How to get screen resolution?

  1. #1

    Thread Starter
    Lively Member TETYYS's Avatar
    Join Date
    May 2010
    Location
    Spam Land
    Posts
    116

    Resolved [RESOLVED] How to get screen resolution?

    How to get screen resolution?

    500 B.C. - 2011
    Quote Originally Posted by techgnome View Post
    VB's ' has twice the power of C's / ... that's why it takes two / to equal one '

    -tg

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to get screen resolution?

    How about
    vb.net Code:
    1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    2.         MessageBox.Show(My.Computer.Screen.Bounds.Size.ToString)
    3. End Sub

  3. #3
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: How to get screen resolution?

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width