DCOM client/server programming with Visual Basic 
Author Message
 DCOM client/server programming with Visual Basic

I want write a DCOM server and client in Visual Basic.
I have two questions:

1.How can I register a DCOM server on the client machine?
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?)

--

Thanks for your help:     Lenti Peter



Thu, 09 Aug 2001 03:00:00 GMT  
 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


Fri, 10 Aug 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. DCOM client/server programming with Visual Basic

2. DCOM, Visual Basic, Powerbuilder, and three tier client/server

3. Visual basic programs - connect to a server - Visual Basic 5 Enterprice Edition

4. Install OLE Server for DCOM, Server and Client

5. DCOM server hangs: Win2000 client / NT server problem

6. Help with Three-tier client/server project in Visual Basic 5.0

7. \\\** Visual Basic/Client Server - Multiple Opportunities - US/PA/NJ **///

8. \\\** Visual Basic P/A - Client Server Development - US/PA **///

9. \\\\\*** Visual Basic Client/Server Developer - US/PA ***/////

10. Client-server TCP applications with Visual Basic?

11. socket access from visual basic client to linux server

12. Client/server for Visual Basic 5.0

 

 
Powered by phpBB® Forum Software