KA.Barcode Generator for .NET Suite
How to Print UPC-A in VB.NET with Valid Data
Complete VB.NET source code to generate, print UPC-A images using Barcode Generator for .NET Control
  • Perfectly work within .NET Framework 2.0/3.0/4.0 for UPC-A barcode integration & generation
  • Make and create UPC-A 1D bar codes to insert in ASP.NET web pages, VB.NET Windows applications, VB.NET class
  • Integrate, insert UPC-A bar code images in SQL Server Reporting Services and Crystal Reports
  • Support to print 2D barcode in ASP.NET as well, including Word UPC-E, C# Intelligent Mail, ITF-14 C#
  • Provide detailed tutorial and complete VB.NET source code for UPC-A generation
  • Generating, printing UPC-A barcodes with a 2-digit or 5-digit addon symbol / supplement
  • Supports Java Codabar , ASP.NET UPC-E, Intelligent Mail ASP.NET, PDF417 .NET WinForms and many other barcode types
  • Support simple printing, encoding UPC-A barcodes with valid character sets in Visual Basic.NET
  • Automatically apply a check digit for UPC-A 1D barcodes to produce valid images
  • Accurate UPC-A barcode generation compatible with GS1 standard
UPC-A Generation Control API for VB.NET is a barcoding functionality of KA.Barcode Generator for .NET Suite, a mature and reliable UPC-A barcode generator library (DLL Class Library) used world-wide. To have a better understanding about UPC-A barcode property settings in our KA.Barcode Generator for .NET Suite, you are supposed to refer to the links with VB.NET examples below.
UPC-A Information
UPC-A (a.k.a Universal Product Code version A) is a linear barcode used in retail industry. It is the standard version of Universal Product Code.

UPC-A for VB.NET encodes:

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
UPC-A Data Encoding in KA.Barcode Generator for .NET Suite

Install UPC-A Barcode Control for .NET Suite

  1. 1.
  2. 2.
    Copy "KeepAutomation.Barcode.Windows.dll" / "KeepAutomation.Barcode.Web.dll" to your VB.NET project folder
  3. 3.
    Add the above two barcode component DLL(s) libraries to your VB.NET project reference
Copy those following VB.NET example codings onto you forms to integrate UPC-A images:
Dim barcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
barcode.Symbology= KeepAutomation.Barcode.Symbology. UPCA
barcode.CodeToEncode = "12345678901"
UPC-A is fixed-length and has 12 digits of data totally (check digit included). Efficiently, KA.Barcode for VB.NET can append the checksum digit to UPC-A barcode automatically during its generation. Meanwhile, 2 & 5 digits can be added as supplementary data for UPC-A barcodes.

Printing UPC-A barcode with Supplement 2-digit Add-On

EAN-2 is add-on for UPC-A barcodes. EAN-2 add-on is often used on magazines and periodicals to indicate an issue number. It encodes:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
barcode.Symbology = KeepAutomation.Barcode.Symbology.UPCASup2
barcode.CodeToEncode = "01234567890"
barcode.SupplementCode = "12345"

Encoding UPC-A barcode with Supplement 5-digit Add-On

EAN-5 is add-on for UPC-A barcodes. EAN-5 add-on is used to give a suggestion for the price of the book. It encodes:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
barcode.Symbology = KeepAutomation.Barcode.Symbology.UPCASup5
barcode.CodeToEncode = "01234567890"
barcode.SupplementCode = "12345"