Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / February 2006

Tip: Looking for answers? Try searching our database.

tasklist, new category

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
michael olson - 07 Feb 2006 18:51 GMT
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
Carlos J. Quintero [VB MVP] - 08 Feb 2006 09:48 GMT
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?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.