Hi Rick. Thanks for the idea but that doesnt do the trick either.
>_screen.Activate()?
>
>>Hi All
>>
>>I have an app that starts another program using ShellExecute() api. The other app runs minimized and performs some work and my app waits for it to finish. When the other program finishes, however, my app is not the foremost window. It is visible but it is not the foremost window. I tried using SetForegroundWindow( _VFP.hWnd ) api but this just makes my app flash on the Windows taskbar but does not make my window the foremost active window. Any suggestions?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.