UPC-A Barcode Generation Using VB.NET with .NET Barcode Library DLL

Generate high quality UPC-A in VB.NET programs with VB.NET barcode SDK
UPC-A Barcode Generator in VB.NET - Benefits
Visual Basic.NET Development Environment
VB.NET Barcode Generator Class Library supports barcode integration in various VB.NET programs such as VB.NET Windows Forms, VB.NET Crystal Report, Reporting Service for VB.NET, VB.NET console applications & class library.
High Customization and Flexibility in Barcode Settings
With Barcode Library Component for VB.NET, you can easily customize barcodes to suite your needs by setting barcode data, and appearance related properties like size, color, alignment, resolution, orientation, etc. Human-readable text can be showed or hidden according to your requirement.
Special Settings for UPC-A
Automatically compute check digit for UPC-A. Only input 11 digits, a 12-digit UPC-A is produced. Supplemental barcodes UPC-A+2 & UPC-A+5 are able to be generated. SupHeight, and SupSpace are easy to be adjusted.
Multiple Image Formats Support
The generated UPC-A can be displayed as image in various image formats such as Gif, Tiff, Bmp, Png and Jpeg. Users may also output UPC-A to Graphic, Bitmap and Stream .NET objects.
Source Code and Developer License
Source code for VB.NET is available with purchase of the unlimited developer license. Barcode Generator for VB.NET is royalty free with the purchase of developer license.
Multiple Barcode Types Supported in VB.NET
UPC-A Barcode Generator SDK/DLL for VB.NET - Overview
.NET Barcode Generator Library DLL in VB.NET is a robust and reliable barcode component that easily integrates into Visual Studio 2005/2008/2010 to generate high quality barcode images. All barcode functions and symbologies are built into a dll file for easy redistribution without the need of activation key. This page gives a detailed guide of creating UPC-A in VB.NET. Free VB.NET sample code is provided for easy generation.
UPC-A Introduction
UPC-A is a 12-digit long barcode symbology. It is the standard barcode of the UPC family to mark products that are sold at point-of-sale in retail field in the USA. A UPC-A has the following structure: 1 digit for Number System, 5 digits for Manufacturer (Company) Code or prefix, 5 digits for Product Code and 1 digit for checksum.
UPC-A Encodable Character
  • Numeric digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Input 11 digits is valid, check digit will compute by Barcode Library DLL automatically
UPC-A Barcode Generator Component for VB.NET - UPC-A Generation
Generate UPC-A Barcodes in Windows Application using VB.NET
  • Download Terrek.Dotnet.zip, save it in local drive, and unzip;
  • Add Terrek.Barcode.DotNET.dll to the VB.NET Winform project reference;
  • Drag and drop a button to the form, and double-click the button;
  • In the Form1.cs, copy the following VB sample code to the project
Insert UPC-A Barcodes in ASP.NET Applications using VB.NET
  • Download Terrek ASP.NET barcode trial and unzip;
  • Add Terrek.Barcode.ASPNET.dll to your project. Do not copy the DLL to the bin directory, Visual Studio will do so automatically;
  • Open your Visual Studio in Web Forms with VB code and add Terrek.Barcode.ASPNET.dll to your reference in "Solution Explorer";
  • Go to "Barcode" folder in the trial package, copy files "barcode.aspx" and "barcode.aspx.cs", to the project where aspx barcodes are generated;
  • Right click on the aspx name in "Solution Expolrer" and select "View Code";
  • Copy the sample VB code in to the project and run the program.
Print UPC-A Barcode Using VB.NET - Free VB Sample Code
Dim UPCA As Terrek.Barcode.DotNET.DotNETControl = New Terrek.Barcode.DotNET.DotNETControl
'UPC-A encoding set, including UPCA, UPCA_2, UPCA_5
UPCA.Symbol = Terrek.Barcode.BarcodeSymbol.UPCA
'UPC-A valid character set, including numeric data 0-9
UPCA.BarcodeData = "56423156456"
'Define how the bars are placed in a UPC-A image
UPCA.BarAlign = Terrek.Barcode.BarAlign.Center
' UPCA module width and height
UPCA.BarWidth = 2
UPCA.BarHeight = 60
' UPCA entire image width and height
UPCA.ImageWidth = 100
UPCA.ImageHeight = 100
' Specify UPCA image
UPCA.DotsPerInch = 96
UPCA.Rotation = Terrek.Barcode.Rotation.Degree0
UPCA.BarcodeFormat = System.Drawing.Imaging.ImageFormat.Png
UPCA.SaveAsImage("C:\upca.png")