Hi.
I alredy put this question on the forum but a didn't get the answer so I will try to be more explicit.
I want to use 2 ActiveX controls: first when I create the calendar control and the second when I create an Excel control.
It doesn't mahters what control I create first, the second one fails to be created due to an error that apairs at the opening:
"ActiveX control error"
So I tried to use, before creating the second controler, this functions:
status = DiscardCtrl (My_handle, calendar);
CA_DiscardObjHandle (*objHandle);
because I was thinking that I must eliminate from memory the first ActiveX control, before I create the second one.
This solution doesn't work.
I put an example of what I try to
do. Press the Open Excel button before presing the Open Calendar button and you will see the error.
Thanks.