Results 1 to 9 of 9

Thread: Screen resolution in VB.net

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2012
    Posts
    44

    Screen resolution in VB.net

    I have notice that in VB6,
    after building an application one must again write some codes to make it fit on any screen that it will be run on.
    Mine is giving me one hell of a time. I have decided to migrate to VB.net.
    My question is ....
    do we the same scenario with VB.net?

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    38,988

    Re: Screen resolution in VB.net

    It's considerably better in VB.NET, but the issue still remains. If you have a form that is full screen, you have no way of knowing exactly how big it will end up. What you have in VB.NET is the ability to anchor and dock items. I generally find that anchoring is sufficient, but I find that I often get it wrong, at first. Anchoring is pretty simple, since it is just a matter of clicking on a few things, but if you get the wrong anchors, controls can stretch in weird ways.
    My usual boring signature: Nothing

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2012
    Posts
    44

    Re: Screen resolution in VB.net

    So is easier with VB.net

  4. #4
    Lively Member
    Join Date
    Nov 2011
    Posts
    97

    Re: Screen resolution in VB.net

    anchoring is good option , u can get screen resolution and set form and components size according to ur needs

  5. #5
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    Re: Screen resolution in VB.net

    Are resolutions and screen sizes not 2 different things?

  6. #6

    Thread Starter
    Member
    Join Date
    Feb 2012
    Posts
    44

    Re: Screen resolution in VB.net

    What are anchor and dock?
    Are they controls in vb.net?

  7. #7
    Lively Member
    Join Date
    Nov 2011
    Posts
    97

    Re: Screen resolution in VB.net

    no they are properties for controls , see properties of any control u can find it

  8. #8

    Re: Screen resolution in VB.net

    Quote Originally Posted by KofiJeff View Post
    What are anchor and dock?
    Are they controls in vb.net?
    anchor and dock are properties for controles. Check the properties of a control.

  9. #9

    Thread Starter
    Member
    Join Date
    Feb 2012
    Posts
    44

    Re: Screen resolution in VB.net

    Quote Originally Posted by Richard_A View Post
    anchor and dock are properties for controles. Check the properties of a control.
    Thz Richie bro .

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