How to utilize a webcam to capture an image that will be store in database. The form has a button "take photo", and a form will open wherein the webcam is running and a button "capture" would be click to take a photo shot. How to do this?

You should search about the APIs that your webcam supports, by using your webcam model number. Then it would help you to goto the next step.

I think this is what you're looking for...

Link

Download the source and use the SampleGrabber folder. The project will need to be converted to the visual studio version your using.

This only captures the image from a webcam, you'll need to do the database integration yourself.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.