Latest News

Getting the IE Address URL directly!

Sunday, 20 March 2011 , Posted by genesisdatabase at 09:28

As of right now, I am trying to fetch the URL that exists in the Internet Explorer address bar.  I tried using registry to call out to "Software\Microsoft\Internet Explorer\TypedURLs\url1" but Internet Explorer only changes the registry if the adress bar's URL windowas entered by the user!  If you were to link to another page with a click, the registry would not be updated.  What I am doing right now is to use a different method, to find the window of the address bar and retrieve the text directly.  However, I find this method rather hard although proven effecient, a little of Google search got me into this link which right now I am using.  Whether or not it gives me the final solution, I will post it up later in a full article on how to retrieve it with the source code available!  This link has also provided me a good tool to check on windows classes, texts and its child, a little much more better than the Microsoft Spy++.  The tool is called Windowse.  Below is the link to the article that is helping me right now.

Article: http://delphi.about.com/od/windowsshellapi/l/aa060303a.htm

Currently have 0 comments:

Leave a Reply

Post a Comment