>Seems to work great so far Michael. Thanks for testing this and finding a good solution! I really appreciate it... I'll be using it in tests for the next couple of weeks. I did some research on windows api functions but I never came across the getexitcodeprocess.
>
>Tracy
>
(SNIP)
You're welcome, Tracy. This example raises a cloud of suspicion over the use of WaitForSingleObject from VFP. I presume that you tested it under VFP8 (I'm using VFP6). Fortunately, the GetExitCodeProcess workaround is a pretty simple general substitute. I'll be interested to see if anyone ever figures out why WaitForSingleObject didn't work in this case, or if similar problems arise with any applications other than Acrobat.
Mike