Microsoft KB Archive/188695

= How To Select Remote Components for Client Projects w/PDW =

Article ID: 188695

Article Last Modified on 7/13/2004

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition

-



This article was previously published under Q188695



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.</li> Click Next.</li>  On the next screen, you specify the appropriate options for your remote server components. You must specify the following options:

<pre class="fixed_text">     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.

</li> Proceed through the remaining steps of the Wizard as desired.</li></ol>

Keywords: kbhowto kbappsetup kbdcom kbwizard KB188695

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.