CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2007
    Posts
    152

    Screen Resolution And Graphics

    Hey guys, I am working on a program that is pretty much done but every time I go from a wide screen to a normal screen the graphics get all messed up and I have to reset them in VB so I was wondering if someone could give me a example I was thinking of detecting the resolution then setting the positions of all the buttons and text boxes by what it is but it seems there are a lot of resolution that I would have to take in account so is there an easier way?

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

    Re: Screen Resolution And Graphics

    VB6 is old. If you search back for my old posts, I've shown links from paid sites that I've used in the past. Developed at 1024x768 and then client had 800x600. All the buttons were on the right, so... NO BUTTONS!

    Reason #1 to upgrade to WPF (in VS2010+). Too small? Scroll mouse wheel to enlarge the form.
    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!

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

  4. #4
    Join Date
    Sep 2010
    Posts
    42

    Re: Screen Resolution And Graphics

    Realy Wonderful, But in this code
    http://www.dreamincode.net/forums/to...reen-size-vb6/
    Got Run Time Error '438'

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