I am one step ahead of you. I already tried your suggestion and it runs and exits without problem.
What I would like to see if that the main app runs stops when the second app gets called, then run the second app and when that is exited the main app appears again.
Let me explain my apps. Main app consists of a login screen and then a form that contains command buttons and when they are clicked the form is hiden and you are taken to a new app. There you run the new app until you exit out of them then you are taken back to the form from the main app where you can run another app of just exit out of it altogether.
>Hi Julie, your VFP app which runs the other VFP app is not controlling when or how the called app runs or exits. Therefore, to test, run the app you want to run from your main application directly. See if it runs properly and does not exit unless required to do so by the operator. If that works correctly your main app should be able to run it without a problem.
>Or are you asking how to make the main app wait until the called app is finished?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement