• Easy to integrate UPC-E barcode generation component into your VB.NET Programs
  • Completely written in VB.NET for .NET 2.0/3.0/4.0
  • Encode UPC-E barcodes with 100% VB.NET sample code provided
  • Generate UPC-E Supplement Barcode with 2-digit and 5-digit add-on symbol
  • Compatible with UPC-E barcode specification in GS1 system
  • Equipped with 50+ options for specifying UPC-E barcode size, color, image, etc
  • Mature UPC-E 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 UPC-E Valid Characters in VB.NET
There are 2 elements that influence UPC-E input characters: (a), UPC-E valid character set; (b), UPC-E valid length.

(a)UPC-E Valid Character Set

UPC-E 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.UPCE
barcode.Code = "123456"
barcode.drawBarcode2ImageFile("C://upce.gif")

VB.NET UPC-E barcode allows users to encode UPC-E+2 barcode as well:

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCESup2
barcode.Code = "123456"
barcode.SupplementCode = "01"
barcode.drawBarcode2ImageFile("C://upce_2.gif")

VB.NET UPC-E barcode allows users to encode UPC-E+5 barcode as well:

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCESup5
barcode.Code = "123456"
barcode.SupplementCode = "12345"
barcode.drawBarcode2ImageFile("C://upce_5.gif")

(b)UPC-E Valid Length

UPC-E barcode is fixed-length linear barcode, which encodes numeric digits 0-9 into 6-digit, 8-digit, and 11-digit UPC-E barcode, excluding a system number in the beginning and a checksum digit in the end. VB.NET UPC-E barcode allows user to control UPC-E barcode length using Code property.

Encoding UPC-E barcode into 6-digit length

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCE
barcode.Code = "789456"
barcode.drawBarcode2ImageFile("C://upce.gif")

Encoding UPC-E barcode into 8-digit length

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCESup2
barcode.Code = "789456"
barcode.SupplementCode = "79"
barcode.drawBarcode2ImageFile("C://upce_2.gif")

Encoding UPC-E barcode into 11-digit length

Dim barcode As BusinessRefinery.Barcode.Linear barcode = New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCESup5
barcode.Code = "789456"
barcode.SupplementCode = "45698"
barcode.drawBarcode2ImageFile("C://upce_5.gif")





Quick Links