troubleshooting Question

CameraCaptureDialog for windows mobile 5.0

Avatar of Aixinmantian
Aixinmantian asked on
Smartphone Programming
3 Comments1 Solution2413 ViewsLast Modified:
Dear All,

I'm trying to develop an application based on HP iPAQ 2790 (Windows Mobile 5.0 OS), using add on camera Spectec SD camera 1.3M to capture a image. I'm using Visual Studio 2005(VB).

The camera works well in the PDA. However I would like to control the camera in my own application using CameraCaptureDialog (we have difficulties to get SDKs for the camera).

The code is:

Dim ccd As New CameraCaptureDialog
        ccd.Mode = CameraCaptureMode.Still
        ccd.Resolution = New Size(160, 120)
        ccd.StillQuality = CameraCaptureStillQuality.Normal


        filename = ccd.FileName
        photo.Image = New Bitmap(filename)

When I run the application, it throws an InvalidOperationException on   ccd.ShowDialog().

Is the CameraCaptureDialog able to control add on camera or just for built-in camera. I would be grateful if any one could answer my questions.

Thank you very much


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros