In Visual Studio 2005:

image

In Visual Studio 2008:

image

(Menu –> Tools –> Options)