- Posted by arie
You can use the Component Services administrative tool to import into applications specific components that have already been registered on your computer as COM components in the Windows registry. Importing a component does not install the interface or method information required to set interface properties or to configure access to the component from a remote client. Therefore, if possible, you should install rather than import unconfigured components.
Note When importing a component into a COM+ application, COM+ does not populate interface and method information for the component. During the export of an application proxy, COM+ will not provide marshaling information (type libraries or proxy/stubs) for some or all of the interfaces. Exporting application proxies that contain imported components will fail or cause a warning to be issued.
To import a component into a COM+ application
- In the console tree of the Component Services administrative tool, select the computer hosting the COM+ application.
- Open the COM+ Applications folder for that computer, and select the application in which you want to install the component.
- Open the application folder and select Components.
- On the Action menu, point to New, and then click Component. You can also right-click the Components folder, point to New, and then click Component.
- On the Welcome page of the COM+ Application Install Wizard, click Next, and then in the Import or Install a Component dialog box, click Import component(s) that are already registered.
- In the Choose Components to Import dialog box, select the Details check box to see complete information about the components that are already registered. Select the component(s) you want to import from the displayed list, and click Next.
- Click Finish.