I’m a C# developer and I have to change my display resolution regularly.
There are plenty of examples on how to read the current display resolutions:
SystemInformation.PrimaryMonitorSize
I found the ChangeDisplaySettingsEx Function
Is the only way to do this in C# is with PInvoke???
It seems odd to me that it is very easy to get this information out, but difficult to set it…
You’ll have to make a PInvoke call to ChangedisplaySetting.
Here’s a link that has some sample code, http://www.xtremedotnettalk.com/printthread.php?t=73184.