how to get the picture from webcam in C#?
-
This is just an idea , don't know if it works or it is a good way: When you connect a webcam or DGC to PC , additional removable disk drive added to your PC. You can check it with win32 API if it is exist and its proper type (for example with
GetDriveType()
function) then simply give the path to it. Mazy "A bank is a place that will lend you money if you can prove that you don't need it." - Bob Hope -
Try searching[^] CodeProject for a few. There's other ways as well. Mazdak touched on one, but that only works in newer Windows OS's (like XP) and only if the webcam driver support the Windows Imaging APIs.
Microsoft MVP, Visual C# My Articles
-
This CodeProject Article should help... http://www.codeproject.com/cs/media/DirectXCapture.asp[^] ------------------------------- Joan MomComputerGeek.com