I used an old active-X control to do that.

http://namtuk.com/myscreencapture-for-activex.aspx

Peter