
Dynamically Added UserControls
OK, I got it working after I compiled the control and referenced it in the
project. Is this a requirement?
JoJo
Quote:
> I'm unable to add a usercontrol dynamically to a form. The usercontrol is
> named "Testing"
> Private Sub Form_Load()
> Controls.add "Testing.UserControl", "Testing1"
> I receive the following error; "Invalid class string. Looking for object
> with ProgID: Testing.UserControl1.
> FYI. "Remove information about unused activeX Controls" is unchecked.
> What could be wrong?
> JoJo