I can load COM DLLs that are registered on my machine like this:
Type type = Type.GetTypeFromProgID("MYCOMDLL.ClassName");
object boxed = Activator.CreateInstance(type);
I can then poke around invoking methods etc.
How can I achieve this from a DLL file that is not registered on my machine?
Something like this magicode:
Type type = Type.GetTypeFromFile("MyFile.dll", "MYCOMDLL.ClassName");
object boxed = Activator.CreateInstance(type);
Is this possible?