AddCustom Method

       

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.