• Easy to integrate EAN-8 barcode generation component into your VB.NET Programs
  • Completely written in VB.NET for .NET 2.0/3.0/4.0
  • Support pixel, inch, cm to be used as the measurement for EAN-8 barcode
  • Simple to specify top, bottom, left, right margin surrounded EAN-8 symbol
  • Absolute support to manage wide bar to narrow bar of EAN-8 barcode
  • Efficiently make EAN-8 barcodes with X, Y dimension and barcode width& height to be adjusted
  • Mature EAN-8 barcode generating dll with royalty-free and perpetual developer license
Installation of .NET Barcode Generator in VB.NET
  1. Download BusinessRefinery.com VB.NET barcode component and unzip
  2. Add BusinessRefinery.Barcode.Win.dll or BusinessRefinery.Barcode.Web.dll to your .NET project reference
  3. Add .NET Barcode Generator .NET Windows Control Library to .NET Visual Studio Toolbox
  • Right click .NET Visual Studio Toolbox, select menu Choose Items...
  • In "Choose Toolbox Items" form, click button "Browse...", and select dll BusinessRefinery.Barcode.Win.dll or BusinessRefinery.Barcode.Web.dll
Encode EAN-8 Valid Characters in VB.NET
There are 2 elements that influence EAN-8 input characters: (a), EAN-8 valid character set; (b), EAN-8 valid length.

(a)EAN-8 Valid Character Set

EAN-8 barcode is a numeric-only linear barcode which encodes:

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN8
barcode.Code = "0123456"
barcode.drawBarcode2ImageFile("C://ean8.gif")

VB.NET EAN-8 barcode allows users to encode EAN-8+2 barcode as well:

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN8Sup2
barcode.Code = "0123456"
barcode.SupplementCode = "01"
barcode.drawBarcode2ImageFile("C://ean8_2.gif")

VB.NET EAN-8 barcode allows users to encode EAN-8+5 barcode as well:

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN8Sup5
barcode.Code = "0123456"
barcode.SupplementCode = "12345"
barcode.drawBarcode2ImageFile("C://ean8_5.gif")

(b)EAN-8 Valid Length

EAN-8 barcode is fixed-length linear barcode, which encodes numeric digits 0-9 into 12-digit, 14-digit, and 17-digit EAN-8 barcode, excluding a checksum digit in the end. VB.NET EAN-8 barcode allows user to control EAN-8 barcode length using Code property.

Encoding EAN-8 barcode into 7-digit length

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN8
barcode.Code = "1234567890123"
barcode.drawBarcode2ImageFile("C://itf14.gif")

Encoding EAN-8 barcode into 9-digit length

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN8Sup2
barcode.Code = "1234567"
barcode.SupplementCode = "79"
barcode.drawBarcode2ImageFile("C://ean8_2.gif")

Encoding EAN-8 barcode into 12-digit length

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN8Sup5
barcode.Code = "4567893"
barcode.SupplementCode = "45698"
barcode.drawBarcode2ImageFile("C://ean8_5.gif")





Quick Links