Hi all, I have a simple question in Add ins .I knew that add ins is supported by visual studio development tool kit .I wrote the following simple code to write to an active document in the

public void Exec(string commandName, vsCommandExecOption executeOption, ref object varIn, ref object varOut, ref bool handled)

I added the following lines :

TextDocument doucment = (TextDocument)_applicationObject.ActiveDocument.Object("");
            TextPoint point = doucment.StartPoint;
            EditPoint write = doucment.CreateEditPoint(point);
            write.Insert("//This version of visual studio is made for our company csutil");

........I want to make it run automatically as any project loads ....I mean that the user donot have to run the add in from the tools menu ..........Does DTE support this feature please I want a solution

please cannot anyone help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.