Discussion Locked

2000 Points screen resolution in VB6

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How can I script into a program to make the screen resolution match the users screen resolution without distorting the program I am writing.

4 replies

by peyison

The easiest way is to use a third party control. There are several:

ActiveSizer - www.datadynamics.com

Olectra Resizer - www.componentone.com

ReSize OCX - www.lyoung.com

And there are others.

You put the contol on your form and set which of your controls are resized with the form, and how.

To do this manually, without a third party control, you have to add code to the forms resize event and resize and/or move each control. If you have more than a few controls, it is much easier to get one of the products mentioned above.

Hope this helps.

by mjervis

There is a way to do this without buying controls. My intent was learning the way this is done and not having someone else do my work and having to BUY the answer. BTW I have figured it out and it is posted on the VB sites. Search for Screen Resoltion.

This discussion is closed to new replies.