Re: Internet Explorer Addresses (History)

[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]

Posted by webmaster Guido on December 07, 2001 at 19:14:10:

In Reply to: Internet Explorer Addresses (History) posted by WarrenA on November 30, 2001 at 15:27:33:

: Does anybody know how to get the Address history from internet explorer - (you know the Combo Box "address")

These can be found in the Windows Registry.

For Internet Explorer 3, 4 and 5 they are under:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs

For Netscape, you should find them under:
HKEY_CURRENT_USER\Software\Netscape\Netscape Navigator\URL History
(although I did'nt test it for NS -- anybody can confirm this?)

So, you'd have to write a function that fills a TStrings object with all the keys found. The structure is:
Name: url1 Value: ""
Name: url2 Value: ""
and so on...

The function would have to check if key url1 exists and if yes, put it in the list. Next, check for url2, url3, and so on, until no more keys are found.

Would be a nice exercise ;-) Any volunteers?
Tip: I didn't check what happens if a key is deleted, if the gaps are filled in that case so that the numbers stay sequential. If yes, then it's a piece of cake... if no, then it's a bit more complicated... Come on, let's hear from you Delphi freaks!

Related Articles and Replies

[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]