How can I force any display resolution/timing I want?
I am having trouble finding a way to force any display resolution/timing I want in my C# program. I am running Windows 7 with a GeForce 210 graphics card. My current method to achieve these custom resolutions is to use the driver GUI to manually add the custom resolutions and then use Windows calls to change to those resolutions but I need a way to add new custom resolutions in real time.  I have looked into the NVAPI but I was not able to find a way to do this.  I also looked into the command line tool for the graphics driver but I was not able to get it to work.  My last resort is to rewrite the values in registry but I would really like to avoid that.  I am willing to use a different programming language or a third party tool as long as I can invoke it from the command line via my program.  Can anyone point me in the right direction?

Thanks in advance. 
How can I force any display resolution/timing I want?
===

I am having trouble finding a way to force any display resolution/timing I want in my C# program. I am running Windows 7 with a GeForce 210 graphics card. My current method to achieve these custom resolutions is to use the driver GUI to manually add the custom resolutions and then use Windows calls to change to those resolutions but I need a way to add new custom resolutions in real time.  I have looked into the NVAPI but I was not able to find a way to do this.  I also looked into the command line tool for the graphics driver but I was not able to get it to work.  My last resort is to rewrite the values in registry but I would really like to avoid that.  I am willing to use a different programming language or a third party tool as long as I can invoke it from the command line via my program.  Can anyone point me in the right direction?

Thanks in advance. 