Hello,

In VBScript and Visual Basic .NET you have the CreateObject method -
CreateObject(servername.typename, location) to create an instance of a
COM object whereby you can set the location to be a remote windows
machine.

http://msdn.microsoft.com/en-us/library/dcw63t7z.aspx


This however is weakly typed and only available through
Microsoft.VisualBasic.

Normallly you'd add a reference in C# and this would create an interop
wrapper DLL so you can use the strongly typed methods in the COM
control.

I however want both! Is there a way to use a COM reference in a C#
project that creates the Interop library and tell it to execute the
COM against a remote host?


Thanks,


Dave
http://centrel-solutions.com

Reply via email to