hey the link in the original post doesnt work anymore, it just says "invalid or deleted file" !

Also, not sure if you already found a way to do this but I finally got some code working that gets the parent process ID from a particular process - see my last post here: http://www.vbforums.com/showthread.php?t=599998