If you're using VS 2010, you can add an application manifest file. there's an option for one in the "Add New Item" dialog (right click on
the project, click "Add" then click "New Item") and edit the generated
file to uncomment the line that says:
For More Details you should read given MSDN link