Problem with ActiveX controls
I made a small application for ActiveX control in Visual Basic to test.
There is an ActiveX control which have a listbox and some command buttons.But this is not working .
The application should work like this:
ActiveXcontrol1(Listbox and Refernce to ActiveXcontrol2 as a command button)-> Click CommandButton1 (let's say "open File") ->Goto ActiveXcontrol2->Click CommandButton Cancel->Return to ActiveXcontrol1
ActiveXcontrol1-> CommandButton1->ActiveXcontrol2->OK->Perform some action
When I include the .ocx file of ActiveXcontrol2 through Project->Components and the control appears in toolbox and drag the control and place it on the ActiveXcontrol1 and click on the commandbutton to display the ActiveX control2 i.e. the control with some stuff and OK and Cancel button, this is not getting displayed.
i.e. not calling the ActiveX Control2.
Am i making some mistake?