Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to obtain object reference to Internet Explorer
Message
De
17/10/2000 18:37:02
 
 
À
17/10/2000 09:42:47
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00430270
Message ID:
00430644
Vues:
14
>Hi all,
>
>I have to iterate through all open instances of Internet Explorer to find a specific WebSite and automate that instance. How would I obtain handles to all instances that are eventually open - and that are not openened from my app via CREATEOBJECT("InternetExplorer.Application")?
>

You can use the Shell.Application automation object - it's Windows collection includes all running instances of InternetExplorer.Application, and you can examine each instance's LocationURL property to find the right one.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform