>Hi Folks!!!
>
>I need help about run/! command.
>When execute a run from a FORM, open a new sesion of VisualFoxPro
>my form have the property ShowWindow is 1, We need it at this type,
>the trouble is that, open a new session of Visual and stop de application, the form is called from another form with same property and that form is called from a menu treeview.
>
You might want to look at using my API_APPRUN class, which provides for better control and trackability of child processes, or the FFC ShellExecute() class in VFP6, rather than the RUN command to launch the child app. Both have some capability to control the ShowWindow mode on startup, and API_APPRUN allows you to track and check the termination code of a child process from the parent, and to either launch and return immediately or launch and wait on termination.
>please help me!!!