You could try this code from the Codebank, I haven't looked at it, but it appears to use the API:

http://www.vbforums.com/showthread.php?t=330985