>Hi Antonio
>i am not sure in understand your question.
>Shellexecute API can open an url (with the associated application, here the default browser).
>no need to fetch the browser location,its public ).
>
>
>
>DECLARE INTEGER ShellExecute IN SHELL32.DLL INTEGER nWinHandle,;
> STRING cOperation,;
> STRING cFileName,;
> STRING cParameters,;
> STRING cDirectory,;
> INTEGER nShowWindow
>result = ShellExecute(0, "open", "http://msn.com","","",1)
>*result = ShellExecute(0, "open", "iexplore.exe","http://msn.com","",1)
>*result = ShellExecute(0, "open", "firefox.exe","http://msn.com","",1)
>*result = ShellExecute(0, "open", "chrome.exe","http://msn.com","",1)
>
>
Thanks, Yousfi.
My problem is not to launch the default browser, but to make sure the browser opens the URL in a named window ("_top", "_blank", "myWindow", ...) so that if there is an instance of the application already running, and the named window already exists, the windows location() is updated / replaced.
----------------------------------
António Tavares Lopes