Glenn,
This is a very bad idea. Many people use 800X600 because they can;t read 1024x768, you would be making your application not able to be used by them.
My computer is MY computer and I don't want anyones program changing the settings on my computer.
Your best solution is to design your application for 800x600, if that is tyhe common display resolution of your users, and then there is no problem. A program made for 800x600 will work fine at 1024x768, but the reverse is not true.