After some searching, I found this program which can capture images from a webcam and display them in a picture box:http://www.codeproject.com/KB/vb/webcamcapture.aspx
I would like to know how to directly store the image in an array instead of a picture box.
Searching the internet and these forums didn't turn up much useful.
EDIT:
I solved it using de gedibits API function. See http://www.vbforums.com/showthread.php?t=560604
