• Form size on different pcs (vb6/w2000/office xp)

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Form size on different pcs (vb6/w2000/office xp)

    Author
    Topic
    #368833

    I wrote a small vb program that uses a small form. By small, i mean it appears small on my screen which is set to 1400 x1050 pixels. When i try my executable on someone else’s machine it is so big that it fills up the whole screen. Anyway, how do i code my form the size variable, depending on the users resolution or is there a thread i can read to get this kind of information. Thanks a lot.

    Viewing 0 reply threads
    Author
    Replies
    • #578917

      Have a look at this post. HTH

      • #579047

        Thank you. I’m not familiar with how to put these declare functions into a vb6 project? When i just cut and paste the code it doesn’t like the “Declare Function…” Do you know how i can modify for vb6? thanks a lot

        • #579173

          The default for Declare statements is Public. Unless, however, you have them in the main form, you need to make them Private: viz. “Private Declare Function………..”. HTH

    Viewing 0 reply threads
    Reply To: Form size on different pcs (vb6/w2000/office xp)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: