HOWTO: Select Remote Components for Client Projects w/PDW
ID: Q188695
|
The information in this article applies to:
-
Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 6.0
SUMMARY
This article describes how to select remote components for Visual Basic
client applications using the Package and Deployment Wizard (PDW). This
article applies to both Remote Automation and DCOM components.
MORE INFORMATION
When creating a distribution set using the PDW for a remote client, the PDW
will assume all ActiveX components are local, meaning that they will be
installed onto the same machine as the client application. The following
steps describe how to specify that the ActiveX server components used in
your application should be accessed through DCOM or Remote Automation.
Step-by-Step Procedures
These steps assume that you have already created client and server
applications using Microsoft Visual Basic.
- Start the Package and Deployment Wizard.
- Select your client project, and click Package.
- Select the default Packaging script, and click Next.
- Select Standard Setup Package, and click Next.
- Select the folder where your package will be assembled, and click Next.
- The next screen lists the files that will be included with your
application. A check box appears next to each file. Since the ActiveX
EXE server will be remote, it should not be included with the
distribution set. Deselect the check box next to your ActiveX EXE
server.
- Click Add to locate the .vbr file for your ActiveX EXE. Create a .vbr
file for your ActiveX components by selecting "Remote Server Files" in
the project properties. "Remote Server Files" will provide the
information necessary to register the remote component on client
computers.
- Click Next.
- On the next screen, you specify the appropriate options for your
remote server components. You must specify the following options:
Net Address Specify the server name where the remote component
will be accessed. This is required for both DCOM
and Remote Automation servers. (You can leave this
blank--the end-user can enter this information when
he or she installs the client.)
Connection Specify DCOM or RA (Remote Automation).
Protocol For RA servers only. Specify the network protocol
to be used by the client to communicate with the RA
server.
Authentication For RA servers only. Specify the authentication
used to connect to the RA Server.
- Proceed through the remaining steps of the Wizard as desired.
Keywords : kbwizard kbActiveX kbAppSetup kbDCOM kbVBp kbVBp600 kbGrpVB
Version :
Platform : WINDOWS
Issue type : kbhowto