And for those of you who don't visit the Lounge on a regular basis, please read this first:
Now then, I've had an idea. And I would like to get some input from you experts. Now I realise that this is a solution that will come in many parts, and I'd like to reward each contribution separately. I will therefore leave this question at the bare minimum of points, will post "points for" questions for every suggestion contributing to the solution.
What I am looking for is this:
1) A programatic approach toward capturing images from a PC Cam. Please do not post 3rd party tools here, I am looking for vanilla VB code that goes and gets the image directly from the camera, if necessary through API calls.
2) Secondly some suggestions toward "motion sensing". My idea was to take the images in sequence, divide them into, say, nine sub-images and if more than one (two, three?) sub-image is different from before I will treat that as motion occurring and will act on this. My guess is that this would be sufficient to avoid it recording the slow brightening and darkening of the image due to the changes in daylight during the day, but it should pick up the drastic changes from something appearing in front of the camera.