Creating VB controls at Runtime

How can I create a Runtime command button that can handle the click event? I tried using other controls, such as DTPicker, with the VBControlExtender and it worked properly. But I had to find one of the parameters manually in the Windows Registry for the DTPicker. Where can I find the key in the Registry for my Runtime command button as said before???

Thanks for help.
LVL 1
RosssAsked:
Who is Participating?
All Courses

From novice to tech pro — start learning today.