Change monitor resolution with API call

R

rc51wv

This may be going out on a limb, but I need to make a button that changes the
monitor resolution based on a previously set variable. I've been reading
about API calls that can do this but I'm not sure which to use and how to
implement this. Can some one point me in the right direction?

Thanks
-Will
 
K

Klatuu

This is not something you should do. When you change resolution, it affects
all apps, not just yours. It is likely all you will accomplish is making
your users angry. They have their resolutions set to their own preferences.
 
R

rc51wv

Acutally, It will be installed on each of the user's computers that request
it and the choices will be limited to one of two resolutions. Our company has
a night shift and an evening shift. The option to change monitor resolutions
through display properties is locked to them. I want to use a form that has a
button that will allow them to just click on their name and have it change to
the resolution they request their screens to be set at rather than to have
daily request for our people to change the resolutions for them because the
nightshift and dayshift people complaining about what their resolution is set
at.
 
R

rc51wv

Thank you. This works perfectly.

Putting this in the individual user's startup to open, run, and quit let's
us automate the whole process without having to purchase additional software
or having to get said software approved.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top