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!

Code to change users screen resolution automatically

Status
Not open for further replies.
Aug 13, 2002
14
US
I have written an application that must be run under 800X600 screen resolution. Currently, the user would have to change to this resolution every time they use my program. How do I code my program to detect and automatically change the user's computer screen resolution to my required 800X600? Where do I place this code and how do I get it to go back to their previous screen resolution when my application is closed? Please keep in mind I am a beginner in VB 6 so please walk me through this step by step! Thank you so much for your help!
Glenn
 
Bear in mind that there may still be some legacy monitors out there which will not physically cope with resolution switching.

Forcing that in code could actually cause physical damage! Let me know if this helps
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top