UPC-A, the most well-known linear barcode in America, has been used in almost every daily product, like books, food and clothes. This 12-character numeric barcode can encode information of number system, manufacturer code, product code and check digit.
Instructions on UPC-A Barcode Generation with VB.NET Class
In the Solution Explorer, right click "Add Reference..." to add Barcodelib.Barcode.ASP.NET.dll or Barcodelib.Barcode.WinForms.dll to your project.
In Toolbox, right click "Choose Item..." to add Barcodelib.Barcode.ASP.NET.dll or Barcodelib.Barcode.WinForms.dll to the Toolbox.
You could generate an UPC-A barcode with following sample VB codes.
Dim upc_a AsNew BarcodeLib.Barcode.Linear() upc_a.Type = BarcodeType.UPCA upc_a.Data = "12345678901"
' Create UPC-A barcode and output to HttpResponse object HttpResponse response = ... upc_a.drawBarcode(response)
' Encode UPC-A barcode and save to Stream object Stream stream = ... upc_a.drawBarcode(stream)
Above Free UPC-A sample codes are written in Visual VB 2005
Instructions on UPC-A Images Generation in VB.NET ASP.NET Web Projects
To create UPC-A linear barcodes in ASP.NET, you are supposed to do as section two firstly.
Embed Barcodelib.Barcode.ASP.NET.dll to your project.
Embed Barcodelib.Barcode.ASP.NET.dll to your Toolbox.
Copy files "linear.aspx" & "linear.aspx.cs" from the folder "barcode" in the trial package to your web program folder.
Drag "LinearASPNET" from the Toolbox and drop it on the split part of your aspx page.
Click the produced barcode image and change barcode type to UPC-A in the Properties Window or generate an UPC-A barcode with above Sample Code for VB UPC-A Generation.
Instructions on UPC-A Barcodes Creation in VB.NET WinForms Software
Add BarcodeLib.Barcode.WinForms.dll to your web program.
Add BarcodeLib.Barcode.WinForms.dll to your Toolbox.
Drag LinearWinForm to your windows form and adjust its type to UPC-A in Properties Window or create an UPC-A barcode with above Sample Code for VB UPC-A Generation.
Barcodes Supported by UPC-A VB.NET Barcoding Control