>I need to bring a running copy of Word forward from VFP. If Word is not minimized, SetForegroundWindow() works great. If it is minimized, the window doesn't come forward. I guess what I really need to do is find out if it's minimized and if it is restore it.
>
>Any ideas?
>
>Thanks,
If you know the Word window handle (or can find it via its title and FindWindow) then I think you can use ShowWindow API function to bring the Word window to the front.
Unfortunately I don't have my API reference handy just now.