Hi João,
You should read VFP help. If you do that for RUN command, you'll find that '/N7' means 'start application Inactive and minimized'. '/N3' will start it 'Active and maximized'.
>Hi Serge
>
>from app1.exe I do
>RUN /N7 app2.exe
>app2.exe start it´s executing minimazed in the task bar.
>
>I need to send app2.exe to the front.
>In app2.exe
>
>i do this
>
>ZOOM WINDOW SCREEN MAX
>DO FORM forms\myform TO RetVal WITH pAppname
>
>but the app2.exe doesn´t come to the front of the display
>
>What to do ??
>
>Thank´s
>
>João
--sb--