Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET Barcode > VB.NET Barcode Generation Guide > VB.NET GS1-128 Barcode Generation Control Tutorial, still creates 1D Code 128 in VB.NET
Download Barcode for .NET Suite Trial

GS1-128 VB.NET Barcode Generator Library SDK

How to Generate & Print Linear GS1-128/EAN-128 Barcodes Images in VB.NET
  • Professional VB.NET barcode generator with high remarks from 1000+ .NET developers
  • Create high print quality GS1-128 barcode with professional VB.NET barcode generating dlls
  • Suitable to generate GS1-128 barcode in VB.NET Class & ASP.NET web applications
  • Generate & print GS1-128 barcode in VB.NET Windows Forms & Console applications
  • Draw GS1-128 barcode in Crystal Reports & Reporting Services & RDLC Reports
  • Easy to make an order for developer license of VB.NET Barcode Generator SDK online or offline
Brief Introduction of VB.NET GS1-128/EAN-128 Barcode Image
GS1-128 (UCC/EAN 128) is a commonly used linear barcode. As it can encode both data and meanings, GS1-128 exists as an important carrier to encode shipping and product information like date and weight.
How to Generate & Encode GS1-128 Barcodes in VB.NET Class
  1. Right click "Add Reference..." in the Solution Explorer, find Barcodelib.Barcode.ASP.NET.dll or Barcodelib.Barcode.WinForms.dll in the trial package, and Click "OK".
  2. Right click "Choose Item..." in Toolbox, find Barcodelib.Barcode.ASP.NET.dll or Barcodelib.Barcode.WinForms.dll in the trial package, and Click "OK".
  3. Now, you could create a high-quality GS1-128/EAN-128 barcode with following sample VB codes.
     Dim gs1 As New BarcodeLib.Barcode.Linear()
gs1.Type = BarcodeType.EAN128
gs1.Data = "~ai211121211"

gs1.ProcessTilde = True
gs1.BarColor = System.Drawing.Color.Blue
gs1.BarWidth = 2
gs1.LeftMargin = 12
gs1.RightMargin = 12

' More GS1-128 barcode settings here, like image color, font, human-readable text font etc.

' Save barcode image into your system
gs1.drawBarcode("c:/gs1-128.jpeg")

' Encode GS1-128 barcode & output to byte array
byte[] barcodeInBytes = gs1.drawBarcodeAsBytes()

' Encode GS1-128 barcode to Graphics object
Graphics graphics = ...
gs1.drawBarcode(graphics)

' Encode GS1-128 barcode and output to HttpResponse object
HttpResponse response = ...
gs1.drawBarcode(response)

' Encode GS1-128 barcode and output to Stream object
Stream stream = ...
gs1.drawBarcode(stream)
Above Free GS1-128 sample codes are written in Visual Basic .NET 2005
How to Create GS1-128 Images in VB.NET ASP.NET Web Projects
BarcodeLib.com VB.NET generator controls supports streaming GS1-128 barcode images in ASP.NET web program.
  1. Right click "Add Reference..." in the Solution Explorer, find Barcodelib.Barcode.ASP.NET.dll or Barcodelib.Barcode.WinForms.dll in the trial package, and Click "OK".
  2. Right click "Choose Item..." in Toolbox, and find ASP.NET & WinForms Barcoding dlls in the trial package, and Click "OK".
  3. Copy files "linear.aspx", "linear.aspx.cs" from the folder barcode in the trial package to your web project.
  4. Drag LinearASPNET from the Toolbox and drop it on the split part of your aspx page. Then you will see a barcode image. Note: this barcode generation SDK default barcode image is Code 128.
  5. Click the produced barcode image and change barcode type to EAN 128 in the Properties Window or generate an EAN 128 barcode with above Visual Basic .NET sample code.
How to Generate GS1-128 Barcodes in VB.NET WinForms Barcode Control
  1. Add BarcodeLib.Barcode.WinForms.dll from the trial package to your WinForms Project.
  2. Add BarcodeLib.Barcode.WinForms.dll to your Visual Studio Toolbox.
  3. Drag LinearWinForm to your windows form and click generated image. Then, adjust its type to EAN 128 in Properties Window or create a GS1-128 barcode with above Visual Basic .NET demo code.
Barcodes Supported by GS1-128 VB.NET Barcode Generator SDK
VB.NET Linear Barcodes:
VB.NET Matrix Barcodes:
VB.NET Bar Coding - Linear Barcode Types: Codabar, Code 11, Code 2 of 5, Code 39, Code 93, Code 128, EAN 8, EAN 13, EAN 128, Interleaved 2 of 5, ITF14 (UPC Shipping Container Symbol), MSI Plessey, OneCode, Planet, Postnet, RM4SCC (British Royal Mail 4-State Customer Barcode), UPC-A, UPC-E.
VB.NET Bar Coding - 2D Barcode Types: Data Matrix, PDF417, QR Code.