capture an image

Posted on 2011-05-03
Last Modified: 2012-05-11
i wonder if any one can help me to write a C# code to capture an image from the camera and save it directly to a specific path like "c:\programs\img"  
Question by:caznova
    LVL 18

    Accepted Solution

    The code at
    does it for a webcam.

    For generic understanding of this subject you have a good explanation at

    The function IPhotoAcquireDeviceSelectionDialog does almost everything is needed. An instructiion on how to use it (with C, but you can adapt it to C#). The disadvantage in this procedure is that is MFC, which can be not applicable to your case.

    I think the best way is to follow Microsoft

    Hope ii helps you!
    LVL 53

    Expert Comment

    This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Not many admins are aware that GPOs can be activated and deactivated time-based. Time to change that :)
    This is about my first experience with programming Arduino.
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now