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 / March 2006

Tip: Looking for answers? Try searching our database.

Best practice for accessing DTE from within the target app?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mclagett - 23 Mar 2006 13:44 GMT
A quick question that someone might know the answer to.  I am accessing the
DTE library not from an addin, but from code within the target application.  
This is clearly running in another thread than the IDE, if the number of
"server busy" messages I'm getting is any indication.  Is there any
discussion of best practices for doing this that anyone knows about.  I'm
sure I can research this and figure it out, but if anyone has any suggestions
it would be greatly appreciated.

Regards,

Mike
Carlos J. Quintero [VB MVP] - 23 Mar 2006 14:52 GMT
Hi Mike,

What is the "target application"? There are several ways to automate the IDE
that I described at my article:

HOWTO: Automating Visual Studio .NET from outside the IDE
http://www.mztools.com/articles/2005/MZ005.htm

There is another one, from designers, etc. calling GetService(GetType(DTE))
or something smilar.

Automating from an external process is much slower because of the
"out-of-process" stuff, and you can get that "busy" errors.

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

>A quick question that someone might know the answer to.  I am accessing the
> DTE library not from an addin, but from code within the target
[quoted text clipped - 9 lines]
>
> Mike

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.