How to add an activex control dynamically in VB.NET 
Author Message
 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



Wed, 20 Oct 2004 05:42:57 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Dynamically add ActiveX control to VB.NET Form

2. Dynamically add ActiveX control to VB.NET Form

3. Need help dynamically adding ActiveX controls to an MDI child window

4. Dynamically adding ActiveX controls to a form?

5. Adding Events to Dynamically Added Controls

6. deleting dynamically created controls in runtime using vb.net

7. Event Handling Between Dynamically Loaded User Controls using vb.net

8. At Run Time, dynamically adding ANY TYPE of Controls in VB

9. Dynamically adding textbox in a VB Frame Control ?

10. At Run Time, dynamically adding ANY TYPE of Controls in VB

11. At Run Time, dynamically adding ANY TYPE of Controls in VB

12. At Run Time, dynamically adding ANY TYPE of Controls in VB

 

 
Powered by phpBB® Forum Software