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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resize Open Form according to Desktop settings 2

Status
Not open for further replies.

kjv1611

New member
Jul 9, 2003
10,758
US
I may be in well over my head with this idea, but thought I could check here to see if anyone knew if it were possible. The reason I have is that some people will have one 17 inch monitor, some will have one 15 inch monitor, and some will have 2 17 inch monitors. Also, some users will have their Settings at 800x600, while others at 1024x768. Does anyone have an idea how to accomplish this (either through code or through a setting on each form?

Stephen [infinity]
"Jesus saith unto him, I am the way, the truth, and the life:
no man cometh unto the Father, but by me." John 14:6 KJV
 
kjv1611

Yes, sorry. I meant change the resolution from 800 X 600 to 1024 X 768.

It is easy. There has been only one problem i have seen since doing it, when someone has a different dpi then you do, the whole thing gets f-d up. But it's only on a very few computers that have a higher dpi then 96.

There is code in this site for it. If you do a quick search, you should be able to find it in the VBA forum. If you can't find it let me know.

Mark P.

Bleh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top