Hi Evan,
Maybe this link will help you
http://www.news2news.com/vfp/?function=34HTH
>Hi folks,
>
>I have a situation where one VFP executable (AppA) calls another VFP executable (AppB) which uses a top-level form (AppB can be run standalone as well without going through AppA).
>
>When AppB is run standalone, AppB is selected on the taskbar -- but when AppA runs AppB, AppA is still selected on the taskbar. Also, just in case it matters, the Application.Visible property of AppB is set to True in the Activate of the form (actually, it's in a bound delegate, but you get the idea).
>
>QUESTION: How can I get AppB to *always* be selected on the taskbar regardless of whether it's started by AppA or run standalone? I'm thinking I may have to issue an API call of some kind, but if there's an easier, better, more VFP way, I'm interested.
>
>TIA,
robert.oh.