Preload Screen Configuration with values

I have an application component which automatically determines the values that should be entered to the “Screen Configuration” panel (Resolution, display #, windowed mode). How can I preload these values into the system without displaying the panel?

There are ways to edit the game .exe with a resource editor to change these values (try http://www.angusj.com/resourcehacker/ for example). But since this is cumbersome and has to be done every time you make a new build, I would recommend that you write your own settings screen in-game instead so you can design it for your game specifically.