I don't think you can create control VS externally as you want to. The docs say this:
Visual Studio .NET offers three different levels of extensibility: Visual Studio .NET Macros (VSMacros) Add-ins and wizards Visual Studio Integrator Program (VSIP All throughout the section of the docs it references these three options and never mentions external automation (neither did it explicitly rule it out) Regards, J. Vince Pacella / OOCL Chicago Cell 773-454-8683 Fax - 773-867-5050 Cargo Tracking Online at: www.cargosmart.com > -----Original Message----- > From: Unmoderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of > Ahti Haukilehto > Sent: Friday, May 27, 2005 6:09 > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: [ADVANCED-DOTNET] Visual Studio Automation > > Hi > > I am wondering how to attach to Visual Studio through > automation (Visual Studio 2005 beta 2). I am currently using > following code: > > EnvDTE80.DTE2 applicationObject = (EnvDTE80.DTE2) > System.Runtime.InteropServices.Marshal. > GetActiveObject("VisualStudio.DTE.8.0"); > > but the returned applicationObject.Identity is null. > > > What is the correct classname? It seems not to be > "VisualStudio.DTE.8.0" > > > > //ahti > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > > > IMPORTANT NOTICE Email from OOCL is confidential and may be legally privileged. If it is not intended for you, please delete it immediately unread. The internet cannot guarantee that this communication is free of viruses, interception or interference and anyone who communicates with us by email is taken to accept the risks in so doing. Without limitation, OOCL and its affiliates accept no liability whatsoever and howsoever arising in connection with the use of this email. Under no circumstances shall this email constitute a binding agreement to carry or for provision of carriage services by OOCL, which is subject to the availability of carrier's equipment and vessels and the terms and conditions of OOCL's standard bill of lading which is also available at http://www.oocl.com. =================================== This list is hosted by DevelopMentorŪ http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com