Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET Barcode Reader SDK > Read Barcode in VB.NET > VB.NET Barcodes Reader Component for Code 128, also read Code 39 Barcode in VB.NET
Download Barcode Reader for .NET Trial

Code 128 VB.NET Barcode Reading Library

How to Read & Scan Code 128 Barcode Images in VB.NET Applications
  • A time-tested VB.NET Code 128 barcode reader, compatible with .NET 2.0 and above
  • Wholly written in managed C# and work perfectly with .NET development tools, like VS
  • Read & scan Code 128 from common image formats like gif, bmp, tiff, png and jpeg
  • Scan & decode Code 128 barcode in ASP.NET Web Applications & Console Applications
  • Provide Windows Application Distribution License and Servers License for .NET developers
  • Offer prompt services and one-year free software update for our customers
VB.NET Code 128 Barcode Reader Library Installation
  1. Just add "BarcodeLib.BarcodeReader.dll" into your project reference.
Using Free VB.NET Code to Scan Code 128 Barcode Image
     Dim datas() As String = BarcodeReader.read("c:/code128-vbnet.gif", BarcodeReader.CODE128)
Using the above free sample VB code, you can read & decode all Code 128 barcodes from the gif image file (code128-vbnet).
How to Improve Code 128 Scanning Rate in VB.NET Applications

Activate maxOneBarcodePerPage to true

  1. This property exerts a significant effect in speeding up the scanning rate, especially when you are going to read & decode a maximum Code 128 (which is the only barcode in the source image file).
  2. If this property is false, the Code 128 barcode reader will use total 5 algorithms and each will read the whole source image from 4 directions, so it saves much time if the reader stops scanning once it detects one Code 128 barcode.

Scan & read partial image file

  1. Undoubtedly, it will accelerate the reading speed if users let the reader just scan the Code 128 barcode region, instead of the whole image.
  2. The Code 128 VB.NET barcode reader SDK provided by BarcodeLib.com successfully achieves this by using knowledge of axis. By specifying the most left top point as (0%, 0%) and the most right bottom point as (100%, 100%), our barcode scanner can accurately locate the barcode region. (Let's take top 20% and bottom 20% area as an example.)
     Dim setting As OptimizeSetting = New OptimizeSetting()


Dim top20 As ScanArea = New ScanArea(New Drawing.PointF(0.0F, 0.0F), New Drawing.PointF(100.0F, 20.0F))

Dim bottom20 As ScanArea = New ScanArea(New Drawing.PointF(0.0F, 80.0F), New Drawing.PointF(100.0F, 100.0F))

Dim areas As List(Of ScanArea) = New List(Of ScanArea)


Dim datas() As String = BarcodeReader.read("c:/code128-vbnet.gif", BarcodeReader.CODE128, setting)
VB.NET Code 128 Barcode Decoding SDK Supported Barcode Types
All the following linear & 2d barcodes can be decoded & read by our VB.NET Code 128 Barcode Reader Library:
Decode VB 1D Barcodes:
Decode VB 2D Barcodes: