Community discussion forum

MissingManifestResourceException

  • 3 years ago

    I have a problem in my application. I am developing software for a Windows CE .NET device. It is a bar code reader and I have the library that includes the control of the bar code scanner


    When I try to create an object of ScannerServicesDriver type I get a MissingManifestResourceException and no additional information is given.
    I don´t understand  why can I create the object scanner1 correctly and not the scannerServicesDriver1.
    The path of reference to the library is correct



    This is the code I have:


    public class FormA200 : System.Windows.Forms.Form
    {
       ...
       private PsionTeklogix.Barcode.ScannerServices.ScannerServicesDriver scannerServicesDriver1;
       private PsionTeklogix.Barcode.Scanner scanner1;
           
       public FormA200()
       {
           InitializeComponent();
       }


       private void InitializeComponent()
       {
           System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FormA200));
           this.lCant = new System.Windows.Forms.Label();
           .....


           this.scanner1 = new PsionTeklogix.Barcode.Scanner();
           //at this point the exception happens!
           this.scannerServicesDriver1 = new PsionTeklogix.Barcode.ScannerServices.ScannerServicesDriver();        
               
           // scanner1
           this.scanner1.Driver = this.scannerServicesDriver1;
           this.scanner1.ScanCompleteEvent += new PsionTeklogix.Barcode.ScanCompleteEventHandler(this.scanner1_ScanCompleteEvent);
               


           this.Load += new System.EventHandler(this.FormA200Load);
       }
       private void scanner1
    ScanCompleteEvent(object sender, PsionTeklogix.Barcode.ScanCompleteEventArgs e)
       {


       }


    }


    Any ideas??
    Thanks a lot

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 9 months ago

     Hi all,

    I have the same problem in VB.Net

    I define     Friend WithEvents Scanner1 As PsionTeklogix.Barcode.Scanner and when I use

    Scanner1 = New PsionTeklogix.Barcode.Scanner gives me an error of OutOfMemoryExeption

     

    Any Ideas
    Thanks a lot

     

Post a reply

Enter your message below

Sign in or Join us (it's free).