ByteScout Barcode Reader SDK - VB.NET - Decode EAN-14 - ByteScout

ByteScout Barcode Reader SDK – VB.NET – Decode EAN-14

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Reader SDK – VB.NET – Decode EAN-14

How to decode EAN 14 in VB.NET with ByteScout BarCode Reader SDK

This code in VB.NET shows how to decode EAN 14 with this how to tutorial

This sample source code below will demonstrate you how to decode EAN 14 in VB.NET. ByteScout BarCode Reader SDK is the SDK for reading of barcodes from PDF, images and live camera or video. Almost every common type like Code 39, Code 128, GS1, UPC, QR Code, Datamatrix, PDF417 and many others are supported. Supports noisy and defective images and docs. Includes optional documents splitter and merger for pdf and tiff based on found barcodess. Batch mode is supported for superior performance using multiple threads. Decoded values are easily exported to JSON, CSV, XML and to custom format. It can decode EAN 14 in VB.NET.

The SDK samples like this one below explain how to quickly make your application do decode EAN 14 in VB.NET with the help of ByteScout BarCode Reader SDK. Follow the instructions from the scratch to work and copy the VB.NET code. This basic programming language sample code for VB.NET will do the whole work for you to decode EAN 14.

Free trial version of ByteScout BarCode Reader SDK is available for download from our website. Get it to try other source code samples for VB.NET.

Try ByteScout BarCode Reader SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

Module1.vb
      
Imports System.IO Imports Bytescout.BarCodeReader Module Module1 Sub Main() Const imageFile As String = "EAN14.png" Console.WriteLine("Reading barcode(s) from image {0}", Path.GetFullPath(imageFile)) Dim reader As New Reader() reader.RegistrationName = "demo" reader.RegistrationKey = "demo" ' Set barcode type to find reader.BarcodeTypesToFind.Code128 = True ' "EAN-14" barcode type is the same as "Code 128" ' ----------------------------------------------------------------------- ' NOTE: We can read barcodes from specific page to increase performance . ' For sample please refer to "Decoding barcodes from PDF by pages" program. ' ----------------------------------------------------------------------- ' Read barcodes Dim barcodes As FoundBarcode() = reader.ReadFrom(imageFile) For Each barcode As FoundBarcode In barcodes Console.WriteLine("Found barcode with type '{0}' and value '{1}'", barcode.Type, barcode.Value) Next ' Cleanup reader.Dispose() Console.WriteLine("Press any key to exit..") Console.ReadKey() End Sub End Module

Try ByteScout BarCode Reader SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

VIDEO

ON-PREMISE VERSION INFORMATION

Get 60 Day Free Trial or Visit ByteScout BarCode Reader SDK Home Page

Explore ByteScout BarCode Reader SDK Documentation

Get ByteScout BarCode Reader SDK Free Training

WEB API

Get Your Free API Key

Explore Web API Documentation

Tutorials:

prev
next