It's IE configuration. Under Tools -> Internet Options uncheck Reuse windows for launching shortcuts. It should work with your old code after that.
>I change my code as below.
>
>
>DECLARE INTEGER ShellExecute IN shell32;
> INTEGER hwnd,;
> STRING lpOperation,;
> STRING lpFile,;
> STRING lpParameters,;
> STRING lpDirectory,;
> INTEGER nShowCmd
>
>
> SELECT M_Web
> GO TOP
> SCAN ALL FOR !EMPTY(WFav)
>
> lcUrl = "http://www."+ALLTRIM(WWeb)+"/"
> IF ShellExecute(0, "Open", lcUrl, "", "", 1) <= 32
> * Error
> ENDIF
> ENDSCAN
>
>
>But yet when I run it,
>1- if I select 4 url as my favorites from 10 url, only last record ( or Url ) opened. But I want to my favorite urls opened in 4 browser window separately.
>2- if I have an open browser window, when I run my code, my url opened in active browser window and not in new browser window.
--sb--