I want to set resolution automatically when my program will run. I want to make it (resolution) 1280*1024. What should I write there in my vb.net program to set resolution when my program will run? When user will stop using my program it will get default resolution. Thats all. Please help me.