Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

System.IndexOutOfRangeException on BarCodeReader.Read

Last post 07-08-2010, 9:55 AM by CRAIGK1979. 4 replies.
Sort Posts: Previous Next
  •  06-03-2010, 4:00 AM 241548

    System.IndexOutOfRangeException on BarCodeReader.Read .NET

    Attachment: Present (inaccessible)

    Hi,

    I'm checking multiple images to see if they have a barcode on them

    however i get a System.IndexOutOfRangeException while trying to scan the attached file - which does not have a barcode on it

    this is the code i'm using

    Dim reader As BarCodeReader

    reader = New BarCodeReader("C:\temp\bad\page5.jpg", BarCodeReadType.Code128)

    Do While reader.Read()

    Loop

    I noticed some previous posts on this issue but that was a while ago.

    Thanks

    Craig

     
  •  06-03-2010, 6:21 PM 241701 in reply to 241548

    Re: System.IndexOutOfRangeException on BarCodeReader.Read .NET

    Hi Craig,

    I have reproduced the issue at my end and have logged this in our bug tracking system (ID: 17459). We will inform you as soon as it is resolved. Sorry for the inconvenience.

    Best Regards,
    Saqib Razzaq
    Support Developer, Aspose Sialkot Team
    http://www.aspose.com
    Your File Format Experts
     
  •  06-09-2010, 2:29 PM 242525 in reply to 241701

    Re: System.IndexOutOfRangeException on BarCodeReader.Read

    I'm actually getting the same message when I try the bar code recognition on your site.

     

    "Index was outside the bounds of the array."

    on page: http://www.aspose.com/demos/.net-components/aspose.barcode/csharp/recognition.aspx

     
  •  07-08-2010, 9:29 AM 247602 in reply to 241548

    Re: System.IndexOutOfRangeException on BarCodeReader.Read

    The issues you have found earlier (filed as 17459) have been fixed in this update.


    This message was posted using Notification2Forum from Downloads module by aspose.notifier.
     
  •  07-08-2010, 9:55 AM 247616 in reply to 247602

    Re: System.IndexOutOfRangeException on BarCodeReader.Read

    Thanks,

    I'm using the Code128 symbology so it does not affect me

    however when the sample image I attached is scanned using the Pdf417 symbology

    it incorrectly picks up 4 barcodes - all garbage

    as there is no barcodes on the page.

     
View as RSS news feed in XML