Adds a tab to this model view using the specified ActiveX control.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddControl( _
ByVal Name As System.String, _
ByVal ControlName As System.String, _
ByVal BstrLicKey As System.String _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As IModelViewManager
Dim Name As System.String
Dim ControlName As System.String
Dim BstrLicKey As System.String
Dim value As System.Object
value = instance.AddControl(Name, ControlName, BstrLicKey) |
Parameters
- Name
User-defined label that appears on the tab
- ControlName
Name or class ID for the ActiveX control
- BstrLicKey
Optional license key; this data is needed to create ActiveX controls that require a runtime license key; if the ActiveX control supports licensing, then provide a license key for the creation of the ActiveX control; default value is NULL
Return Value
Pointer to the new ActiveX control
Example
Remarks
See Also
Availability
SOLIDWORKS 2003 FCS, Revision Number 11.0