>>Is there a way to have foxpro waiting for the end of the execution of a program called with shellexec ?
>>
>>Thanks
>Eric,
>
>In addition, the Windows Script Host's Shell object has a Run method that allows you to provide a parameter that causes the calling application to wait until the called application terminates.
Yes but I want to hide the running window (it is calling a dos application) and run doesn't seem to provide an option to hide the running window.