OLE finished like Shell.Completed

Hi,

I use some Shell Commands under macOS and Linux to process some data. I get informed the Shell finished execution by Shell.Completed-Event.

Those Commands aren’t available under Windows. So I got some code to handle this with OLEObject. I have to wait until the OLE action is executed before I can call further methods, otherwise I get error messages under Windows.

Var shellApp As New OLEObject("Shell.Application")
...

Question: Is there anything similar to Shell.Completed for OLEObject?

@William_Yu can you help please?

If there’s any “Completed” event (or any other events for that matter) they would be invoked by the COM object that we trap in the EventTriggered event. Have you tried adding a Handler for that?