|
-
November 27th, 2002, 04:49 AM
#1
How create COM object using GUID or CLSID
Good day,
problem:
on a box installed two VS.NET 7.0 and 7.1 aka 2003
how I can get DTE object for 7.0 and for 7.1 if I know its GUIDs.
Thanx.
-
December 2nd, 2002, 10:08 AM
#2
I did it, see code:
.....
DTE DTE70 = (DTE)Activator.CreateInstance( Type.GetTypeFromProgID("VisualStudio.DTE.7") );
.....
DTE DTE71 = (DTE)Activator.CreateInstance( Type.GetTypeFromProgID("VisualStudio.DTE.7.1") );
THANX.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|