-
Here's the plan, I created a custom activex control in vb.
I then started an *.exe project & inserted the control on the form.
The question - how can I call on the controls on the activex control - i.e. if there's a text box on the activex control, how do I say something like:
Code:
Private sub command1_click()
Msgbox activexcontrol1.text1.text
End Sub
I can get a list of properties for the control, but can't see the text box in this! Thank you :D
-
You will have to expose the child control properties required through a new property in the propertybag of your new control.
Use the ActiveX Ctrl Interface Wizard then the Property Page Wizard.
:cool:
-
Ahhhh, that's brilliant thanks Jerry!