>How can i bring the Microsoft excel window (ie) to top from vfp?
Carlos,
You can use the Is_Run32 function (available in the download section under Win32 and other APISs), to retrieve the window for Execl by passing it the known portion of the title bar (ie - "Microsoft Excel"). Then you can use the following:
DECLARE SHORT BringWindowToTop IN Win32API;
INTEGER hWnd
llresult = (BringWindowToTop(lnhWnd) # 0)
If the function succeeds, llresult will equal .T.
hth,
George
Ubi caritas et amor, deus ibi est