Freetutes.com

VB6 beginners tutorial - Learn VB6

Advanced VB6 tutorial - Learn Advanced VB6

Systems Analysis - System analysis and Design tutorial for Software Engineering


You are here: Visual Basic > Advanced VB6 tutorial > Chapter 21

Registering a Component that Implements DCOM and Configuring DCOM

If your application uses remote code components, you must make sure that DCOM is properly installed and configured on the client computer.

If your application implements remote code components, you must make sure that DCOM is properly installed and configured on the server.

To make sure that the correct DCOM components are installed on a client or server computer for a client application or a server component, you call up the Project, Properties dialog box from the VB menu and choose the Component tab. Then check the Component tab’s Remote Server Files option, as shown in Figure 21.18.

Setting the Remote Server Files option for a VB project.
FIGURE 21.18 Setting the Remote Server Files option for a VB project.

When you compile either the client or the server project, the compiler will create a VBR (remote support) file in the same folder as the VBP file.

When you use Package and Deployment Wizard to create the component or the client application, Package and Deployment Wizard automatically packages the necessary information into the client and component installation packages to implement DCOM on either end.


  

<< Previous | Contents | Next >>

Home | About Us | Privacy Policy | Contact Us

Copyright © Freetutes.com | All Rights Reserved