CoCreateInstance Equiv in VB.NET

  • Thread starter Thread starter ChrisWoodruff
  • Start date Start date
C

ChrisWoodruff

I post a long ol' message about something I was doing... after reading my
post it seemed really long (sorry).

So I can shorten the question:
What's the "proper" VB .NET method for achiving the equivlent of the
CoCreateInstance API? I am specifying the GUID for the object and the
IDisPatch interface.

Thanks,
cw
 
Chris,
What's the "proper" VB .NET method for achiving the equivlent of the
CoCreateInstance API? I am specifying the GUID for the object and the
IDisPatch interface.

Activator.CreateInstance(Type.GetTypeFromCLSID(<clsid>))



Mattias
 
Back
Top