Need active tab URL in IE8/IE9 using WIN32 API
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/11158341/get-current-url-in-ie-using-visual-basic">Get Current URL in IE Using Visual Basic</a>  </p>
</blockquote>



<p>I need to get the active tab url of the user's browser in IE8/IE9 using WIN 32 API.
I need the URL which is accessed by the user in the browser which is currently accessed. I have to use the URl value in Windows service.</p>

<p>User can open any number of tabs as per his requirement. But at a time only one tab of the browser is active. I need the the URL of the tab which is active.
I have tried to get the active tab URL using ShellWindowsClass. But we get all the URL of the browser. Also i need to get the URL in windows service. So kindly share your thoughts. </p>
