Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting a URL from the currently active browser
Message
From
08/11/1999 08:59:06
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00288323
Message ID:
00288402
Views:
14
>I believe I am asking this question under the right catagory. Hi all. Using automation or an API call, I would like to extract the URL from the currently open browser (probably IE5) - I have spent an entirely frustrating and fruitless afternoon searching through the so-called help provided in the MSDN library and have come to terms with the fact that I do not even know where to look.
>Can anyone point me in the right direction?
>Thanks
>Robin

Normally, there is no way to get an object handle on an already running instance of IE.

What you want is fairly simple though, if you launch that instance from your code. You'll just need to iterate through the Links collection, and grab the HREF property of your choice.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform