I cant seem to find any decent code for video camera capture. Any idea where i can find some?

Any language will be ok as i can read most code from various languages. I'd prefer C#, VB6 or Java though.