This is how we do it:
DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
INTEGER hwnd, ;
STRING lpVerb, ;
STRING lpFile, ;
STRING lpParameters, ;
STRING lpDirectory, ;
LONG nShowCmd
=Shellexecute(0,"Open","
http://www.systemedic.com","","",0)
It seems to open the window and give it focus. Hope it works for you...
>I used the syntax below in a form to initiate an internet link. However, the browser does not "pop-up" in focus. (A link on the toolbar opens). Any ideas as to have the browser window become the main window?
>
>******************************************************
>oIE = CreateObject("InternetExplorer.Application")
>oIE.Navigate2("
http://www.YAHOO.com")
>oIE.Visible = .T.
>******************************************************
>
>Thanks much.
>Billy