you could use MAPI.

and it's odd that the OP hasn't posted since post #6. and how do you know this isn't a key logger? he hasn't answered one way or another.

lmao!! "if he had the knowledge to do anything malicious with this code then he'd have been able to write it himself." THAT is the definition of a script kiddie

i'm pretty sure if i gave him working code for a keylogger (which I do in my sig actually), he'd figure out how to use it maliciously.