If you have an application you want to run it as administrator you could use the following command for it:
runas /user:Administrator MyApp
For things like Cisual Studio 2008 you can change the properties of the shortcut, and in the Advanced Properties check the Run as administrator checkbox.