Re: RUN an EXE

Author: Eurico Chagas Filho

Posted: 2011-12-02 at 16:50:28

I use ShellExecute(), perhaps u should consider it...

HTH, E.

>________________________________

> From: Kent Belan <kbelan@mchsi.com>

>To: 'ProFox Email List' <profox@leafe.com>

>Sent: Friday, December 2, 2011 7:37 PM

>Subject: RUN an EXE

>

>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

>

>

[excessive quoting removed by server]

_______________________________________________

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/1322862628.49955.YahooMailNeo@web160803.mail.bf1.yahoo.com

** 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 Eurico Chagas Filho