I am having trouble finding a way to force any screen resolution / time I want in my C # program. I am running Windows 7 with a GeForce 210 graphics card. My current method to achieve these user permissions is to use a GUI driver to manually add user permissions, and then use Windows calls to change these permissions, but I need a way to add new user permissions in real time. I looked at NVAPI, but I could not find a way to do this. I also learned the command line tool for the graphics driver, but I could not get it to work. The last resort is to rewrite the values in the registry, but I would really like to avoid this. I am ready to use another programming language or a third-party tool if I can call it from the command line through my program. Can someone point me in the right direction?
Thanks in advance.
Update (8/16/2011): I am working on this issue with NVIDIA, and they provide me with an advanced NVAPI that will allow me to recreate the functionality of my driver. They also confirmed that the basic version of NVAPI they provide will not do this.
source share