>>Julie, the READ EVENTS in your example must be in the application you are calling. When you run another exe it runs in its own environment and needs its own READ EVENTS.
>>
>>
>>>I an application that is calling other applications. The problem is that it calls the other applications, but it immediately closes that called application and returns the user to the main application. Is there a trick to calling an application from another application?
>>>
>>>In the click method from a form from the main app I have
>>>
>>>DO pfd_main.exe
>>>READ EVENTS
>
>Putting a second READ EVENTS in the second app will have no effect. There can only be one READ EVENTS active at a time.
Hi Fred, I was not clear in my post. I was not suggesting a second READ EVENTS in the second app but rather that the second app required its own READ EVENTS. Anyway, it was JulieB who posted the original query and we found out that what she actually wanted was for the first app to stop and wait for the second app to finish.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.