DECLARE SHORT SetForegroundWindow IN USER32.DLL INTEGER hWnd DECLARE INTEGER FindWindow IN Win32API; STRING @lpClassName, ; STRING @lpWindowName oIE = CreateObject("InternetExplorer.Application") oIE.Toolbar = .t. oIE.Visible = .t. lcApplicationTitle = "Microsoft Internet Explorer" lnHWnd = FindWindow(0, @lcApplicationTitle) SetForegroundWindow(lnhWnd)Credits to the UT's Windows API collection.