>You can't know the ports ahead of time, by default. DCOM will use any number of ports in a specified range. You can, however, configure both the client and the server machine to restrict port usage to a specified range.
>
>Check MSDN for an article entitled "Using Distributed COM with Firewalls".
http://msdn.microsoft.com/library/backgrnd/html/msdn_dcomfirewall.htm
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison