Q: Installing a keyboard hook

This is actually one question, although a bit compound. Let me explain what I'm trying to do...

I'm trying to write a program that will monitor all keys pressed by the user and save them to a text file for later review.

I'm a complete novice here, but I know I need to use some form of hook to monitor the keypress event and return the value of the pressed key. Every example and tutorial I can find on hooks is for VB6, a different language, or .net 2003. While the 2003 sample code compiles, the article fails to explain how it works.

Could anyone help me with this, please I can't seem to figure it out, and I've been at this for days.

Meerc