Visual Component Manager Publish Wizard

See Also Tasks

The Visual Component Manager Publish Wizard takes you step by step through the process of publishing a component for reuse.

By filling in the requested information, you let Visual Component Manager know where and how to store the component, how to manage its interaction with the Visual Studio and other development environments, and how to identify it with keywords and search attributes so it can be easily located by other developers who wish to reuse it.

The wizard includes a standard set of buttons along the bottom. These buttons control the following actions:

Button Description
Help Displays online help for the Publish Wizard.
Cancel Closes the wizard; nothing is published.
< Back Moves back one step in the process.
Next > Moves forward one step in the process.
Finish Publishes the item and closes the wizard.

Step 1: Select a Repository Folder

This step asks you to name the folder to which you want the item published, and to provide a name for the item. You may choose a folder on either a local or a shared repository database, or create a new folder. If you started the Publish Wizard from within Visual Basic, Visual J++, or Visual InterDev, the name of the selected component is automatically filled in for you, but you can change it if you wish.

Step 2: Title and Properties

This step asks you to identify the component so that it can easily be located, and so Visual Component Manager will know how to ôhandleö it when you want to reuse it in a project or solution.

Component Name

The name that will appear in the Contents pane to identify the component.

Primary File Name

The primary component file. For example, if you are publishing an ActiveX control, the primary file name will be the .OCX file that encapsulates the control.

Type

Identifies the type of component you are publishing. This determines the handler assigned to the component for purposes of interacting with the tools environment and operating system, as well as providing a useful search criterion.

Author

The person who wrote or integrated the component being published.

Sample Code

A True or False field that indicates whether sample code is included with the published component.

Source Code

A True or False field that indicates whether source code is included with the published component.

Documentation

A True or False field that indicates whether written documentation is included with the published component.

Help Files

A True or False field that indicates whether online Help files are included with the published component.

Step 3: More Properties

This step gives you the opportunity to add a verbal description and search keywords to the component you are publishing. The clearer your description and well-chosen keywords will make your component easier to find by others, and therefore more likely to be reused.

Description

A textual description of the component. The more detail you enter here, the better. A description of the componentÆs suggested usage, interfaces, inputs and outputs, and similar information will help other developers reuse the component more easily.

Keywords

Keywords are a primary search mechanism in Visual Component Manager, so they should be chosen with care. Click Add to insert keywords from a list of available keywords that have previously been used in your database. If you need to insert new keywords, click on the plus (+) sign in the Add a Keyword dialog box.

Step 4: Select Additional File(s)

In this step you name all the files that will be published as a part of the component in addition to the primary file already listed.. If the publish wizard has been launched from a project, the project files will be automatically included in the list, and you may add other files as well.

Step 5: COM Registration

Specify which files, if any, Visual Component Manager must register for COM on the userÆs computer when this component is reused. Once you click Finish, the wizard publishes the component to the specified folder in Visual Component Manager.