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