Hello strongm, thanks a lot for your answer.
I found the issue.
The third-party software cannot run in parallel VB scripts.
Meaning that, if I want it to execute a new VB script(in the third-party software) I must close the Form, and then it will execute the event "clicked".
So, its a limitation...
I am trying to RaiseEvent from a button, this button is located in a Form. Then the idea is to raise the final even to the usercontrol.
I have tried the next code:
Form
Public Event TestEvent()
Private Sub Command1_Click()
RaiseEvent TestEvent
End Sub
usercontrol
Event clicked()
Option...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.