Hey,
I have created a ActiveX exe control, and this control has events. Now when an event fires, the main app, gets this and acts accordingly. Now, the main app wants to send a method to this AX exe when the event triggers.
VB Code:
Private Sub ObjAX_CustEvent(Test as string) ObjAX.DoTest Test End Sub
Now, the method is not processed by the AX exe, probably because the event is not closed when the method is called?
When I put a timer on the form with interval 1 and this timer executes the ObjAX.DoTest Test it sorks OK. Idem with a command button that is set enabled.
Is there a way to still use the method inside the event sub?
Thanks in advance.




Reply With Quote