RUN an EXE

Author: Kent Belan

Posted: 2011-12-02 at 16:37:58

Hello,

Hope you don't mind if I have another question for today.

I have an application that one of the menu options starts a new VFP9

application.

So in the click event, the code looks like:

RUN /N NEWAPP.EXE

This works fine except the new NEWAPP.EXE starts up behind the existing

application.

I tried to remove the /N from the run command, and it does work better, but

leaves a command window hanging ...

How can I get NEWAPP.EXE to open as the active application ?

Thanks,

Kent

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1A812A28B4F743CE945A58E1B8A50504@LaptopW7

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Kent Belan