Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to obtain object reference to Internet Explorer
Message
From
17/10/2000 18:37:02
 
 
To
17/10/2000 09:42:47
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00430270
Message ID:
00430644
Views:
13
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform