A couple of API's that might help: FindWindow and BringWindowToTop Or you can use CreateProcess or ShellExecuteEx to launch a program and wait for it to finish before continuing. (There's a few more API's needed for that trick)
If you are talking to the other windows via automation, couldn't you hide them? oExcel.Visible = .F. works for me. -----Original Message----- From: Jack Skelley Sent: Wednesday, October 01, 2008 2:52 PM Paul: This is what modal is for when you have a pure VFP app. But in my case this is not true. There are other open apps that VFP is 'talking to' as long as the current window doesn't change all is good. But if user activates another window and I am trying to load window 'x' and window 'y' becomes active all quickly goes down hill. I am sure that my users do not know alt+tab as a kbd shortcut... Ok on the message box idea. Thanks for any ideas you have. Regards, Jack _______________________________________________ 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/[EMAIL PROTECTED] ** 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.