
How to instantiate a com object?
Please don't multi-post
(best match is microsoft.public.dotnet.framework.interop)
try
// Get type from registry
Type comType = Type.GetTypeFromProgID( "Library.Classname" );
Object comObj = Activator.CreateInstance( comType );
--
NETMaster (Thomas Scheidegger)
http://www.*-*-*.com/
Quote:
> How to instantiate a com object in
C# like CreateObject in VB without add
> reference to type library.