VC Explore


The COM+ Explore sample demonstrates how to exercise the COM+ Administration services using Visual C++.

It contains examples of the following:

·         navigating collections (including adding and removing objects and changing properties)

·         exporting and installing applications

·         importing and integrating components into applications

·         controlling the router on the machine

·         writing Start and Stop applications

·         connecting to different machines to administer their COM objects

This document has the following sections:

·         Overview - provides a description of the sample

·         Build / Configuration - provides step by step instructions for building and installing the sample

·         Tour - provides a guided tour of the interesting features of the sample

For more information see COM+ Administration Reference on MSDN

Overview

COM+ administrative tasks can be managed programmatically by a rich set of interfaces as well as through the component services application.  

Build / Configuration

1.      Open the file Explore. VC.sln using Visual C++ 8.0.

2.      Select Build / Configuration Manager.

3.      Select x64 Debug.

4.      To build the application, select Build / Build Solution or Build Explore.VC.

You can also build from the command line by typing nmake /A at the root folder.    You do need to have VS 8.0 installed besides the PSDK.

Were you able to build the sample?  If not, check with the Help Desk 

Tour

The COM+ Administration interfaces expose a group of collections that are composed into a hierarchy of collections.  Using this sample you can browse collections, set and change properties of elements in the collection and save your changes to the COM+ catalog.

1.      Start the VCExplore.exe application.
To start with, you are on the root collection.

2.      Click on Applications in the Related Collections listbox.  This will display a list of COM+ applications installed on your system

3.      Click the Add button (third button from left) to add a new COM+ application.

4.      In the Objects list a new entry New Application appears.  Click on New Application.

5.      Now set the application name by selecting the Name property in the properties list.

6.      Change the name to My New App. Then click the Set button.

7.      Click on the save button to save your changes to the catalog.

You have now created a new COM+ application with the COM+ Administrative interface

Did the sample work as expected?  If not, check with the Help Desk 

Help Desk

What are you have trouble with?

·         Building the sample

·         My problem is not listed, just show me the FAQ


© 2000 Microsoft Corporation. All rights reserved. Terms of Use.