Hi Alan,
I don't have the answer, but I suggest you post your question in the Windows API discussion area. This is something that can be done with a call to the windows API.
ALex
>I have an application that is used to start another program using RUN. Everything works well (thanks to a lot of help from this forum) however the external app needs to come to the foreground (or the vfp app needs to go to the background, whatever works best). Is this possible? If so please suggest a way to do this.
>
>Also is there a best practice to return "focus" back to vfp app if external app is closed?
>
>Thanks again,
>
>Alan
Low-carb diet not working? Try the Low-food diet instead!