Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7248741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T22:10:48+00:00 2026-05-28T22:10:48+00:00

I am getting an error using the CameraCaptureDialog class in the ES400, while catpturing

  • 0

I am getting an error using the CameraCaptureDialog class in the ES400, while catpturing the second image it says “Could not find image”. But the same code works fine in MC35.

  Dim app_path As String
        Dim ccd As New CameraCaptureDialog
        Dim count As Integer
        count = TransImagelst.Images.Count
        Try

            ccd.Owner = Me
            ccd.DefaultFileName = "Image" & count.ToString & ".jpg"
            ccd.Mode = CameraCaptureMode.Still
            ccd.StillQuality = CameraCaptureStillQuality.Low
            ccd.Resolution = New Size(0, 0)
            ccd.Title = "Image"
            ccd.InitialDirectory = DataBase_Path & "\" & Region & "\Image"
            ccd.ShowDialog()


            'add files to image directory.
            If Not Directory.Exists(DataBase_Path & "\" & Region & "\Image") Then Directory.CreateDirectory(DataBase_Path & "\" & Region & "\Image")

            If ccd.FileName  String.Empty Then
                TransImagelst.ImageSize = New Drawing.Size(55, 55)
                TransImagelst.Images.Add(New Bitmap(ccd.FileName))
                TransImagelstv.View = View.LargeIcon
                TransImagelstv.LargeImageList = TransImagelst
                Dim lv As New ListViewItem("Image" & TransImagelst.Images.Count - 1)
                TransImagelstv.Items.Add(lv)
                lv.ImageIndex = TransImagelst.Images.Count - 1
            End If

Please help me out.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T22:10:48+00:00Added an answer on May 28, 2026 at 10:10 pm

    I had the same problem. Although ES400 is stuffed with features, it does not work with the Cameracapturedialog. It does not even support the Imaging library in the Motorla EMDK SDK. This is baffeling.
    The EMDK Programmers Guide has an ES400 Programming entry which states – You must use Microsoft’s DirectShow for capturing images. I tried this approach, but I could only get VGA resolution which is rubbish for my purpose. If this is sufficient for you, you might have a look at http://alexmogurenko.com/blog/directshownetcf/. I am extremely disappointed of the ES400 on this point.
    I ended up using a simple soliution that is a bit rubbish, but at least it works (see outline below and good luck).

    using (Process proc = new Process())
    {
        //This will open the internal camera application.
        proc.StartInfo = new System.Diagnostics.ProcessStartInfo(@"\Windows\Camera.lnk", string.Empty);
        if (proc.Start() == false)
        {
          Messagebox.(this did not work blablabla)
            return; 
        }
    }
    //The camera app has now focus, in the meantime, we wait with a new messagebox…
    Messagebox.Show(“Ok,Cancel” to open picturedialog)
    if (cancel)
        return;
    string _filename = string.Empty; 
    using (SelectPictureDialog _spd = new SelectPictureDialog())
    {
        _spd.Owner = this;
        _spd.CameraAccess = false;
        _spd.LockDirectory = false;
        _spd.SortOrder = SortOrder.DateDescending;
        _spd.Title = "Select picture from camera";
        if (_spd.ShowDialog() == DialogResult.OK)
        {
            _filename = _spd.FileName;
        }
        else //No picture selected
            return;
    }
    
    //Handle image.. 
    //Delete image from folder?
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed DBD::Pg version 2.17.1 but still still getting error while using below
I'm getting an Illegal characters in path error while using XMLTextReader method. Basically, I'm
I'm getting the error Using $this when not in object context when using the
I am getting this error while using twitter bootstrap. I didn't get this error
I am getting following error while using POCO entity width EF One or more
I am getting an error while using the Entity Framework and C#. I am
I am getting error as Entitlements does not match. Here I am using developers
im getting a weird error using this code (part of a class): from sys
I am getting a syntax error while using the DOCTYPE ... actually i have
I'm getting error while using php function copy() Warning: copy() [function.copy]: Couldn't resolve host

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.