DCOM from .Net

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
 
J

Jialiang Ge [MSFT]

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.
=================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top