It's probably not a good Idea to change the resolution from your app, if the users monitor can't cope with it for some reason then they'll have to try and sort it out with a blank screen. Not good