Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB- Changes in Resolution

Status
Not open for further replies.

natncm70

MIS
Jan 16, 2002
66
IN
Hello,
Previously, my system is in 1024 X 768 pixels resolution. Now I want the systen resolution is in 800 X 600 pixels.
If I changed above resolution(800 X 600), some of the screens part is hided.So what should I do for that.
Please help me.

Regards
R.N.Chandramohan
 
You will need to resize your form to accomodate the new resolution. That's the only way I know how to do it, but someone else may have another solution.
 
just found out that user forms in Word 97 (what I have) have a ZOOM property.


Dim nZoom As Single
Dim sInput As String

sInput = InputBox$("Zoom", , "100")
If (StrPtr(sInput) = 0) Then Exit Sub

nZoom = CSng(sInput)

UserForm1.Zoom = nZoom
UserForm1.Height = UserForm1.Height * (nZoom / 100)
UserForm1.Width = UserForm1.Width * (nZoom / 100)
UserForm1.Show



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top