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 / .NET Framework / .NET SDK / April 2004

Tip: Looking for answers? Try searching our database.

error using "envdte"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
suraj - 12 Apr 2004 15:15 GMT
Hi ,
 I am getting a peculiar error while trying to reference "Envdte"  and
create object of it.I am able to add the reference without any problem but i
get COM object not registered error when i try to instansiate even though
its registered and also found it in the GAC I am using 2003 ..Did anyone
encounter this error earlier.
Any help is highly appreciated!!

Rgds
Ravikanth[MVP] - 27 Apr 2004 14:41 GMT
H

2003 DTE cannot be recreated the same way as in 2002. The correct way t
create 2003 DTE is through .Net reflection. First get the type instanc
System.Type t = System.Type.GetTypeFromProgID("VisualStudio.DTE.7.1")

Then you can create DTE in a handful ways .Net supports. For example throug
Activato
object obj = System.Activator.CreateInstance(t, true)
EnvDTE.DTE dteObject = (EnvDTE.DTE)obj

HT
Ravikanth[MVP

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.