Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

C# Programming

How do I call a DCOM object?


Does anyone know where I can find an example of calling a DCOM object from a
.NET client?  All the examples I'm finding are telling me to use
Activator.Getobject, but I can't figure out which URL to use.

Thanks

Chris,

    I would call the static GetTypeFromProgID method on the Type class,
passing the program id, and the server that is hosting the object.  Then,
you can pass the type to the CreateInstance method on the Activator class to
get a proxy to the type.

--
          - Nicholas Paldino [.NET/C# MVP]
          - m@spam.guard.caspershouse.com

"Chris Lamont Mankowski" <ChrisLamontMankow@discussions.microsoft.com>
wrote in message news:B09869EE-54FB-4725-B32E-69B0250DDE83@microsoft.com...

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc