Returns a reference to the Licenses Collection.
Syntax
object.Licenses
The object placeholder is an object expression that evaluates to an object in the Applies To list.
Remarks
The Licenses collection is used to contain license keys of unreferenced controls. You must add a control's license key to the collection before adding the control itself to the Controls collection. To add a license key, use the Add method for the Licenses collection.
The Licenses property is a property of the Global object. Since the Global object is referenced automatically, you can use the Licenses property without explicitly naming the object, as shown in the code below:
Licenses.Add "myProject.myControl", "xydsfasfjewfe"