Randy,
all you need to do is to use the normal RETURN as you would in calling any procedure. When you return from exe2 the line in exe1 after the line that called exe2 will be the next one to run. By the way, exe2 will still be held open by fox although it is no runing anything. We call several different EXEs from our main exe and fox just treats them as standard procedures. Using Quit would, I think, cause fox to simply exit alltogether.
John.
>Hi. VFP7 user. I am calling a (fox) exe from another (fox) exe. I have a 'Quit' button in the second exe. What code would I use (and where) to release the second exe and return to the first?
>
>Thanks, Randy
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn