Take a webcam photo on login using Windows 7

Hi,
How do I set up my webcam to capture an image on the sly each time my account (or any account) logs on? Is there some specific sample code that will do this?
Topic archived. No new replies allowed.