GetActiveObject in .NET?
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.interop.

Post a new message to this list...

Robert Wehofer
Hello!

I would like to get an active COM server instance using .NET. In Visual
Basic you would use GetObject, in Delphi GetActiveOleObject.

In .NET I have only found the CreateInstance function of Activator. But how
can I GET an instance?

Robert

Reply to this message...
 
    
Jason Newell
Robert,
Take a look at the
System.Runtime.InteropServices.Marshal.GetActiveObject() method.

--
Jason Newell, MCAD
Software Engineer

"Robert Wehofer" <Click here to reveal e-mail address> wrote in message
news:M5lZc.174968$Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 
System.Runtime.InteropServices.Marshal




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com