C1Barcode does not create a valid barcode codetype 128

Originally Posted 30 December 2016, 7:52 am EST

  • Originally Posted 30 December 2016, 7:52 am EST

    We recently updated ComponentOne for WinForms and found that the C1Barcode control codetype 128 does not work after the update. I have created a small test project to isolate the problem. This VB.Net-code is what I have used to test:
    Private Sub Testing()
    With New C1.Win.BarCode.C1BarCode
    .CodeType = C1.BarCode.CodeType.Code_128auto
    .Text = \"AG40328550SE\"
    .Image.Save(\"c:\\temp\\barcodeimg.jpg\", Imaging.ImageFormat.Jpeg)
    End With
    End Sub
    I then upload the file created to https://online-barcode-reader.inliteresearch.com/ to test the result and they don\'t recognise the image created as a barcode. It works fine with Code 93 but not with Code 128. What\'s the problem?

    The code text in this example is one that we know work. We have tested it on http://barcode.tec-it.com, it also worked in our program before we updated ComponentOne.
  • Reply

    Hi,

    This is a known issue [Bug ID: 229553].

    Possible work around, use this code:
    C1BarCode.ModuleSize = 2.

    ~nilay
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels