CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2011
    Posts
    19

    [RESOLVED] Getting list of all supported resolutions.

    I want to get the list of supported resolution by a graphic adapter/card. Anyway to do it?
    640X480
    1024X768
    1366x768
    and so on...........

    I need it urgently. Any help would be great!

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Getting list of all supported resolutions.

    Have you tried WMI?

  3. #3
    Join Date
    Dec 2011
    Posts
    19

    Re: Getting list of all supported resolutions.

    I found no documentation on wmi where i could get all the resolutions. I found one with devmode, but didn't understand. Could someone help?

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Getting list of all supported resolutions.

    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

  6. #6
    Join Date
    Dec 2011
    Posts
    19

    Re: Getting list of all supported resolutions.

    thanc hannesthegreat! that worked well!

  7. #7
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Getting list of all supported resolutions.

    Great stuff!

    Please mark your thread resolved

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

Featured