Capturing url of current web page in focus using

How can I use to capture the name (or url) of the current web page in focus?

If I open a web page I ant a textbox to get the url of that page. If I open another page and give it focus I want the url of that page displayed in a textbox.
Who is Participating?
iboutchkineConnect With a Mentor Commented:
you can get usrl of allopen windows

' Requires a reference to "Microsoft Internet Controls" ("SHDocVw.dll").
For Each IE As InternetExplorer In New ShellWindows()
Next IE
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.