>>You could try:
>>
>>oIe.TheaterMode = .t.
>>
>>That will maximize the browser and bring it to the front.
>
>Thanks Bill. This works the first time through, but if the user minimizes the browser, goes back to the VFP exe, and fires the code again, it doesn't maximize it.
>jfh
Sorry, I only tried it from the VFP7 command line. You could also try the good old fashion Win32 api.
SetForegroundWindow takes one parameter, the handle of the window you want in front. This function is often used in conjuction with the FindWindow api function, but in this case you already have the handle as an IE property.
declare integer SetForegroundWindow in win32api integer
=SetForegroundWindow(oIE.HWND)
Bill Mittenzwey