Visual Basic form autosize to screen resolution

Posted on 2004-10-26
Last Modified: 2008-03-17
I need your help, how can I do a form that display all the input boxes  non depending of the screen resolution, I meen I working with 1280 x 1024 pixels, but some of my users have not the aviability to have this resolution and the form isn't display properly, could you help me? and I want the form uses the full screen.
I need the form objects autosizing depending the screen resolution.
Thank you
Question by:edo60
    LVL 3

    Expert Comment

    LVL 3

    Expert Comment

    LVL 23

    Accepted Solution

    I think there is an option in the forms properties that sizes itself to full screen ( not sure if that works at all ), alternatively you could do some detection and math and detect what resolution the user has there screen set to and enlarge or make the controls on the form bigger or smaller depending on there resolution ?

    Use Select Case instead of if ... else ... end if for determining how big the controls are.

    Author Comment

    Thank you guys, Is solved, thank you so much
    LVL 23

    Expert Comment

    I am glad I could help and thanks for the points, very much appreciated !

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Product Review - Android Remix

    Come along for the ride with our Senior Product Manager, Brian Matis, as he reviews the Android Remix.

    Suggested Solutions

    Title # Comments Views Activity
    countEvens challenge 2 36
    zeroMAx challenge 20 54
    method argument as final 1 41
    Sql how to exclude from a table 3 50
    RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
    I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    846 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now