.NET Barcode Generator
for WinFroms Application in VB.NET
Winforms .NET Barcode Generation DLL
Barcode .NET WinForms > Barcode in .NET WinForms > UPC-A
Linear Barcode in .NET WinForms
Code 39 in VB.NET
Code 128 in VB.NET
EAN-13 in VB.NET
EAN 128 in VB.NET
UPC-A Barcode Generator/Library for VB.NET
Generate high quality UPC-A, supplemental data UPC-A+2, UPC-A+5 with barcode control for VB.NET
UPC-A Barcode Generating Component/Libray in VB.NET - Overview
UPC-A .NET barcode generation control is a robust and reliable barcode library SDK that easily to generate not only UPC-A, but also other linear barcodes in high quality in Visual Studio 2005/2008/2010 for VB.NET applications. UPC-A barcode can be printed or saved as graphic image in gif, tiff, bmp, png and jpeg formats. Barcode size, barcode color, barcode resolution and other properties are available for adjusting to meet specific requirement.
It is possible to generate and print most popular dynamic linear and matrix barcodes in Windows Forms applications using VB.NET barcode class library.

Linear barcodes: Code 128, EAN-13, GS1-128,Code 39

2D barcodes: Data Matrix,PDF-417,QR Code
UPC-A Barcode Library for VB.NET - Benefits
UPC-A Barcode Generation Library for .NET Applications
Aspper.com provides complete information of guideline to generate dynamic UPC-A barcodes into .NET applications and report solution using VB.NET Class Library.
Generate UPC-A in Visual Basic.NET Applications

Installation of UPC-A Barcode Control in Visual Studio

  1. First, download VB.NET barcode control and unzip.
  2. Then, copy the barcode dll to the project folder. Do not copy to the bin directory; visual studio will do so automatically.
  3. Last, add Aspper barcode control dll to project reference. To achieve this, you should open visual studio, find the solution explore and reference, right click reference and select add reference, add the Aspper barcode control dll to reference.

Integrate UPC-A Barcodes in Visual Basic.NET Class

Add UPC-A barcode control dll to your VB.NET project reference.

'UPC-A valid data character set: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
UPC-A valid data length: 11 digits only, excluding the last checksum digit
Dim barcode As Aspper.Barcode.Encoder.ClassLibrary.BarCode = New Aspper.Barcode.Encoder.ClassLibrary.BarCode
barcode.Symbology = Aspper.Barcode.Encoder.ClassLibrary.Symbology.UPCA
barcode.Data = "50215021502"

'When you need supplement barcode, you need also know two properties: SupHeight and SupSpace; Supheight
means supplement bar height and bar height ratio, SupSpace means
space between barcode and supplement barcode (in pixel).

Dim barcode As Aspper.Barcode.Encoder.ClassLibrary.BarCode = New Aspper.Barcode.Encoder.ClassLibrary.BarCode
barcode.Symbology = Aspper.Barcode.Encoder.ClassLibrary.Symbology.UPCASup2;
barcode.Data = "50215021502"
barcode.SupData = "12";
barcode.SupHeight = 0.6f;
barcode.SupSpace = 20;

'UPC-A barcode size including X dimension, Y dimension, image width, image height, rotate, resolution, left margin,
right margin are all available for changing, you may adjust the value to generate the specific barcode.

barcode.UOM = Aspper.Barcode.Encoder.ClassLibrary.UnitOfMeasure.Pixel
barcode.X = 1
barcode.Y = 60
barcode.LeftMargin = 0
barcode.RightMargin = 0
barcode.BearerBarStyle = 0
barcode.BarcodeImageWidth = 175
barcode.BarcodeImageHeight = 50
barcode.Angle = Aspper.Barcode.Encoder.ClassLibrary.Angle.Degree0
barcode.AutoResize = True

'UPC-A text properties include text color, text font and whether to show human-readable text.Following is the example:
barcode.ShowText = True
barcode.TextColor = Color.Black
barcode.TextFont = New Drawing.Font("Arial",10.0F, Drawing.FontStyle.Regular)

'UPC-A barcode image may be in gif, tiff, png, bmp and jpeg formats.For example: