hey thanks for all your help! i got it working.

one last thing and i know this is gonna sound real simple but i've got 2 books (beginner and intermediate) on vb and neither talks about hwnd at all. i tried the microsoft stuff but it wasnt much help.

if you could tell me (in short) what a hwnd is and how to use it i'd be very happy.

thanks again everyone!