Hi,
I want to dynamically add controls to a Controls collection. To do this, I
need ProgId and Name
Syntax
object.Add (ProgID, name, container)
If you go to Object browser and click on CommandButton, you will see
CommandButton is a member of VB and VB is the ProgId of CommandButton. So do
you know how I can obtain the ProgId during run time?
Please email me on jaderule@hotmail.com or reply here.
Many Thanks
|