Hi Reza,
Try this simple code
oIe = createobject('InternetExplorer.Application')
oie.Visible = .t.
oIe.Navigate("www.microcomplex.com",0)
oIe.Navigate("www.microsoft.com",1)
oIe.Navigate("www.levelextreme.com",1)
You can modify this code as best one can.
;o)>Hi all
>I have a program that users can select some website as themselves favorites.
>I have a form that in it i have a command button as "FAVORITES".
>When user click it, i want to open selected website in separately default web browser.
>I am using from below code. But this opens all url in one browser window, and only last selected url.
>What is the best way for doing this?
>Thanks
>
>
> MyObject = CREATEOBJECT("Shell.Application")
> SELECT M_Web
> GO TOP
> SCAN ALL FOR !EMPTY(WFav)
> MyObject.Open("http://www."+ALLTRIM(WWeb)+"/")
> ENDSCAN
>
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst