Google Answers Logo
View Question
Q: USB Camera: Open & take picture & close ( No Answer,   1 Comment )
Subject: USB Camera: Open & take picture & close
Category: Computers > Programming
Asked by: ericb01-ga
List Price: $20.00
Posted: 01 Oct 2006 04:35 PDT
Expires: 31 Oct 2006 03:35 PST
Question ID: 769878

I am in need of .NET code that I can use with Visual Studio 2005 that
will allow me:

1) to open a USB camera installed on a computer (Windows XP), 
2) take one or more pictures of what the camera is focused on (& save
to file); some generally acceptable format: JPEG, GIF, TIFF, etc...
3) close the camera

The simplier the code the better.
There is no answer at this time.

Subject: Re: USB Camera: Open & take picture & close
From: jankos-ga on 15 Oct 2006 13:25 PDT
Something like this?

Compiled in VS2005.

You can change the file type easily on line 238 of mainform.cs
ImageFormat.<type> and the sd.filter up above it to the same type.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy