Results 1 to 4 of 4
  1. #1
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Illinois
    Posts
    552
    Thanks
    0
    Thanked 1 Time in 1 Post

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

    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.

  2. #2
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Form size on different pcs (vb6/w2000/office x

    Have a look at this post. HTH
    Gre

  3. #3
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Illinois
    Posts
    552
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Form size on different pcs (vb6/w2000/office x

    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

  4. #4
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Form size on different pcs (vb6/w2000/office x

    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
    Gre

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •