>I have a PRG file which queries data. Once this has been done I want to open another executable (Not Foxpro) to carry out a task. When this task has been done I want to return the focus to my program again. Any help would be appreciated?
It's easiest done using the Windows Script Host's WScript.Shell object's Run method.
For details see the second in the series of articles that the late Ed Rauh and I wrote for the VFUG newsletter. The Shell was covered in the October, 2000 issue. It's available on-line at
www.vfug.org.
George
Ubi caritas et amor, deus ibi est