I have an add-in that I wrote in VS2003. Is there a way to make active a
specific category of the TaskList? Currently I am making the TaskList window
active after my process finishes running. I would like to be able to make
the TaskList window active with a specific category selected. Here is the
code I am currently using to activate the TaskList window:
applicationObject.Windows.Item(Constants.vsWindowKindTaskList).Activate();
Thanks,
Mike
Hi Michael,
See:
http://blogs.msdn.com/chetanc/archive/2005/11/08/490233.aspx

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
>I have an add-in that I wrote in VS2003. Is there a way to make active a
> specific category of the TaskList? Currently I am making the TaskList
[quoted text clipped - 7 lines]
>
> Mike
michael olson - 08 Feb 2006 13:10 GMT
Is this the same for Visual Studio 2003? I have not ported it to Visual
Studio 2005 yet.
> Hi Michael,
>
[quoted text clipped - 13 lines]
> >
> > Mike
michael olson - 08 Feb 2006 15:43 GMT
I tried something similar to the example you sent me.
applicationObject.Windows.Item(Constants.vsWindowKindTaskList).Activate();
applicationObject.Commands.Raise ("{4A9B7E50-AA16-11D0-A8C5-00A0C921A4D2}",
679, ref customIn, ref customOut);
When it executes the second line I get this exception:
"Trying to revoke a drop target that has not been registered"
Any suggestions?
Mike
> Hi Michael,
>
[quoted text clipped - 13 lines]
> >
> > Mike
Carlos J. Quintero [VB MVP] - 08 Feb 2006 16:21 GMT
I don´t know, I saw that approach for VS 2005, not sure about 2003.
You can post here and someone from MS will likely take a look:
http://forums.microsoft.com/msdn/showforum.aspx?forumid=57&siteid=1

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
>I tried something similar to the example you sent me.
> applicationObject.Windows.Item(Constants.vsWindowKindTaskList).Activate();
[quoted text clipped - 4 lines]
> "Trying to revoke a drop target that has not been registered"
> Any suggestions?