This documentation is archived and is not being maintained.

Visual Basic Extensibility Reference

Visual Studio 6.0

AddCustom Method

See Also   Example   Applies To

Returns a VBComponent object, or creates a new custom component and adds it to the project.

Syntax

object.AddCustom (ByVal progid As String) As VBComponent

The AddCustom method syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
progid Required. The ProgID of the custom component to be created.

Show: