Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4022574
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:29:32+00:00 2026-05-20T10:29:32+00:00

Using VB6 My Default Software display setting as 800 x 600 Clients having different

  • 0

Using VB6

My Default Software display setting as “800 x 600”

Clients having different display setting like “800 x 600”, “1366 x 768”, “1280 x 768”

Client using the software more than “800 x 600” display setting means software is not fitted with full screen. Software is displaying 75% width of the monitor size.

When i manually resize the software according to the display, the images are displaying very large.

How to display the software in a full screen according to the monitor display size.

Need Code Help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T10:29:33+00:00Added an answer on May 20, 2026 at 10:29 am

    The simple option is to allow the users the ability to maximize your form, which will cause it to fill the entire screen, regardless of their computer’s current resolution settings.

    The only problem with this approach is that it won’t stretch/resize the controls on your form to match its new size. The layout will look the same as it did before, but now it will be crammed into the upper-left corner, with a vast expanse of empty space below and to the right of it. So the trick is dynamically resizing the controls on your form whenever the form itself changes size.

    Unfortunately, VB 6 doesn’t have any built-in support for this. You have no choice but to write the code to handle resizing all of your controls yourself. The best place to do this is your form’s Resize event. You can determine the current size of your form by checking its ScaleWidth and ScaleHeight properties. Each of your controls expose a similar Width and Height property that you can use to set their sizes, relative to the size of their container form. You’ll need to devise some rudimentary mathematical logic to determine the sizes. A quick Google search should turn up several examples of how others have done this, but there’s no shining model available.

    One example can be found in e-mail programs like Microsoft Outlook. You might have a TreeView that takes up 100% of the form’s height, but only 50% of its width; a ListView that takes up 50% of the form’s height and 50% of its width; and a TextBox positioned under that taking up 50% of the form’s height and 50% of its width. That would produce a fluid layout similar to that shown below:

    --------------------------------
    |              |               |
    |              |               |
    |              |   ListView    |
    |              |               |
    |              |               |
    |   TreeView   |---------------|
    |              |               |
    |              |               |
    |              |    TextBox    |
    |              |               |
    |              |               |
    --------------------------------
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im having trouble using a .NET COM in vb6, It compiles ok and I
I am using VB6 and the Win32 API to write data to a file,
How exactly using VB6 can I can call any Windows shell command as you
I'm working on the creation of an ActiveX EXE using VB6, and the only
I'm using a VB6 PictureBox on my User Control. I set the PictureBox's picture,
I am trying to uncompress some data created in VB6 using the zlib API.
A VB6 application is using the Interop Forms Toolkit to work with forms written
I have a legacy VB6 application that was built using MSDE. As many client's
i'm using vs installer to build a setup package for my vb6 app. and
I'm using the ssOption control (Sheridan 3d Option control) in VB6. In Windows 98

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.