
DCOM client/server programming with Visual Basic
Quote:
>1.How can I register a DCOM server on the client machine?
Is your DCOM written in C++? If yes, just register the Stub dll on your
Client
machine if you do not merged it. If not, simply register the DCOM dll on
your client machine too.
regsvr32 yourcomponent.dll ' To register
regsvr32 -u yourcomponent.dll ' To unregister
Quote:
>2.How can I instantiate and use the DCOM com server from my client
>application? (Should I use as an ActiveX control with CreateObject method?)
Run "dcomcnfg.exe" on your client side, select your DCOM server component
and configure the machine your DCOM server is located. Uncheck "Run on local
machine" and key in your remote machine eg. Dummy , \\Dummy or 201.101.90.23