DCOM from .Net

  • Thread starter Thread starter Ashu
  • Start date Start date
A

Ashu

Hi,
How can I specify the DCOM server name while creating a remote COM(DCOM)
object.

This DCOM component/process is running on many servers so I can't fix
the server name.

I know how to use COM/DCOM and COM in .Net etc.

I should have asked this question 2 years back, this never came to my
mind. Anyways, it's never too late :)

Regards,
Ashutosh
 
Hello Ashutosh

I'm not sure that I understand the question rightly. Do you mean how to
dynamically specify the server name of a remote COM object? In C#,
Type.GetTypeFromProgID([prog ID], [server name]); supports specifying the
server name. We can place the value in a config file, and dynamically pass
it to the second parameter of Type.GetTypeFromProgID. Is this what you are
looking for? Please provide me with more details of the request.

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================
 
Back
Top