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

How can I change the resolution of the screen in VB6

Status
Not open for further replies.

OneTJN

Programmer
Dec 25, 2007
11
US
I can't find the API to do this. Can someone tell me the API or the reserve word in VB6. Screen.? gives you all the characteristics and I can save the orig config and restore to that but I have to change the resolution while my program is running. At exit I will restore to the original
 
OneTJN said:
At exit I will restore to the original
Suppose your user has a vision disability and can not find the Exit command because now you have hijacked his system? Or perhaps the user would like to be able to switch to other open Windows (check email, instant messenger, etc.), and does not like working at that resolution?

Or what if your program crashes the system, and again the user is stuck with your resolution?

There's really no good reason to be invasive to the user's settings.

Joe Schwarz
Custom Software Developer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top