I appreciate the response, but this example uses the EnvDTE
namespace(which I referenced), but how you use it is beyond me. Do
you have a simple code snippet that shows how to use the EnvDTE?
I normally do this using a Visual Studio (VS) "AddIn" where you get passed
the DTE2 object seen in my first post (at the given link). The DTE2 object
is the top-level object in the VS 2005 extensibility model which is just the
API for controlling the VS IDE. Using this object you can programatically do
just about anything you can normally do using the VS GUI itself. If you
don't want to start monkeying around with an "AddIn" however then see here
instead. The examples show you how to get hold of a DTE2 object. Also search
for macro examples if you want to experiment with that first (probably
easier to get a feel for things). Good luck.
http://msdn2.microsoft.com/en-us/lib...dw(VS.80).aspx