here is VB sample that snapshot from web cam.

http://viscomsoft.esmartweb.com