INFO: Dynamically Add UserControls That Require Run-Time Licenses (241126)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q241126 SUMMARY
When a UserControl contains one or more controls that require run-time licenses, the UserControl implicitly becomes a licensed control (requires run-time license). As a result, when you use the Controls.Add method to add the UserControl dynamically, you must precede it by a call to the Licenses.Add method and provide the license key for the call.
REFERENCESFor additional information how to add controls dynamically, click the article number below
to view the article in the Microsoft Knowledge Base:
190670 HOWTO: Dynamically Add Controls to a Form with Visual Basic 6.0
Modification Type: | Major | Last Reviewed: | 1/11/2001 |
---|
Keywords: | kbCtrl kbDSupport kbinfo kbLicensing KB241126 |
---|
|