How to CameraCapture without OK-Click

  • Thread starter Thread starter Wolfgang Schwarz
  • Start date Start date
W

Wolfgang Schwarz

Hi,

I want to save a picture from the camera in my Pocket-VB-App.
Therefor I found the CameraCaptureDialog class.
But it works only when the user clicks the OK-Button !

How can I save a camera picture without any user action ?

Thank you for response

regards
Wolfgang
 
One workaround would be to create a separate thread which after a short time
simulates an Enter keypress which will have the same effect as the user
clicking, start the thread just before calling ShowDialog on the
CameraCaptureDialog. Alternatively you'd need to P/Invoke or write native
code to work with DirectShow to work more directly with the camera.

Peter
 
Alternatively you'd need to P/Invoke or write native code to work with
DirectShow to work more directly with the camera.

Have you a sample code for DirectShow, or are you knowing a third party tool
for automatic capture pictures and save them ?

Wolfgang
 
Back
Top