How to instantiate a com object? 
Author Message
 How to instantiate a com object?

Please don't multi-post
 (best match is microsoft.public.dotnet.framework.interop)


  // Get type from registry
  Type comType = Type.GetTypeFromProgID( "Library.Classname" );
  Object comObj = Activator.CreateInstance( comType );

  NETMaster  (Thomas Scheidegger)


> How to instantiate a com object in C# like CreateObject in VB without add
> reference to type library.

Wed, 22 Dec 2004 16:49:27 GMT  
 [ 1 post ] 

 Relevant Pages 

1. ATL: instantiating a COM object within its own implementation DLL

2. How to instantiate a COM Object, when I have the version independent prog ID only.

3. Instantiating com object in atl service

4. ATL Service instantiating a VB com object

5. Instantiating COM objects in C#

6. C#-LateBinding/Instantiating COM objects

7. Return a pointer to a nested COM object from a COM object method

8. Invoking COM object from COM object

9. passing COM object pointers to another COM object in ATL

10. COM Object returning COM Object Reference

11. COM object in a COM object

12. Passing COM objects as parameters to other COM objects


Powered by phpBB® Forum Software