how to program the webcam button with C#?

  • carlos coello

    carlos coello - 2013-01-15

    I did a program with c# windowsform where I can activate my webcam and take snapshots with a button from the form; How I can program the webcam button of my Genius e-messenger 310 to take photos?
    obviously i used the directshow libraries to do my program.

  • Eric

    Eric - 2013-01-16

    I'm not aware of a standard way to trap a webcam button pressed event. This can be handled by WIA but I'm not sure of that...

    Try to write a WinForm with an overloaded WndProc method that trace every receved messages and check if the webcam button trigger a windows event.

  • snarfle

    snarfle - 2013-01-16

    You might experiment with IAMVideoControl::SetMode(Trigger). You can see this in the DxSnap sample.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks