Log MS Internet Explorer (6.0)

Hi Experts,
I want to write a program which logs the sites visited by MS Internet Explorer. I thought about saving all web addresses + the time to a textfile. Perhaps with a counter for a site visited more than one time. My first idea has been a system hook or reading the history which would be an easier way, but I do not know if this is possible.
I am glad for any suggestions (some code please)

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BRAZIL 5 times WorldCup Champion!

Congratulations too to all Brazilian Experts and those that beleived we would be world's number one (one more time).

Victory Fernandes, a proud Brazilian!

Well, right now I can see at least two ways of doing this:

1. Clumsy: periodically read text from "Address:" field
   using FindWindow and friends.

2. Easy: http://www.euromind.com/iedelphi/urlhistory/turlhistory.htm
(go to page bottom)
PhiAuthor Commented:
I would like to get some sourcecode, the component is nice but it is too much. The only thing I need is reading out the history periodically and save the addresses to a file.

Please post some short sample code

> Please post some short sample code

Well, I don't think this can be done with "short sample code". Using component is, IMHO, your best bet for this, but I'll be glad if someone proves me wrong...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.