Free source codes
Monitoring system that captures and saves images on the hard disk on user-configurable time intervals.
http://www.maxissoft.com/logicbasic/download/Monitor.zip