
How to add an activex control dynamically in VB.NET
Hello,
In VB, we can add a control that is not referenced in the project by
adding the licence key to the License collection at run time.
For example
Dim WithEvents ctlDynamic As VBControlExtender
Licenses.Add "prjList.ctlList"
Set ctlDynamic = Controls.Add("prjList.ctlList", "myctl", Form1)
ctlDynamic.Move 1, 1, 2500, 3500
How to do the similar thing in VB.NET?
Can anybody help me on this regard.
Mahesh