tommy19,
To know what the resolution is set at you can do ...
[tt]
Private Sub Form_Resize()
Dim W As Long, H As Long
W = Screen.Width / Screen.TwipsPerPixelX
H = Screen.Height / Screen.TwipsPerPixelY
End Sub
[/tt]
dvannoy,
It is best to start a new thread but since it is closly related to tommy19 here goes.
You can usually do some simple calculations to get your controls to look the same. Meaning in your sized view if you have a textbox whose left and top are 30 but its width is 3000 on a 1600 x 1200 resolution then what is that percentage? 3000/24000 (assuming form is maximized) then your percentage = 0.125 or ...
[tt]
Option Explicit
Private Sub Form_Resize()
Dim W As Long, H As Long
W = Screen.Width / Screen.TwipsPerPixelX
H = Screen.Height / Screen.TwipsPerPixelY
Text1.Width = Me.Width * 0.125
End Sub
[/tt]
Now when you resize the form from normal to max or with different resolutions your form should keep its aspect ratio. EXCEPT, you will have to change font sizes of your controls to keep everything looking the same. So if you design in a 640 x 480 environment then you will have to increase your font size (and lets not forget about height (and yes you can use percentages their also)). The VB default for font size is 8.25 (8) so increasing it to 10 or if needed to decrease it to 6 should not pose any problems depending upon the resolution(s). The best thing that I can say is to experiement with changing your resolution and invoking the resize code of the form(s) to see the results that you achieve. Once you have what you think is a good set of values then its time to goto work/friends etc. and run it on their different sized monitor. Depending upon who your target audience is you may only want to test it on 17, 19 and 21 but it would be best if you test it on all sizes of monitors (14, 15, 17, 19, 21, and if you export to tv you could give that a go also) with all resolutions. I believe that you will find the break points of where you should change your font sizes etc. it will just take a little experimentation.
On the other hand there are some 3rd party controls that will do a lot of this for you.
Good Luck to both of you