Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening each url in separately default web browser
Message
De
26/11/2006 12:22:14
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
01172447
Message ID:
01172484
Vues:
30
Yes. It work. But it is only for InternetExplorer.
am i right?

>Hi Reza,
>Try this simple code
>
>oIe = createobject('InternetExplorer.Application')
>oie.Visible = .t.
>oIe.Navigate("www.microcomplex.com",0) &&& take a look at second parameter
>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
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform