Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET Barcode Reader Library > Barcode Recognition Using VB.NET > Code 39 VB.NET Barcode Reader & Scanner Library
Download Barcode Reader for .NET Trial

How to Use VB.NET Codes to Read Code 39 Barcode

VB.NET Code 39 Barcode Reader & Scanner Component for .NET Applications
  • Professional VB.NET Code 39 barcode reader & scanner, 100% built in C# 2005
  • Easy to use for .NET programmers, without activation keys or registration codes
  • Read & recognize Code 39 barcode accurately and quickly in VB.NET applications
  • Support VB.NET Code 39 scanning from gif, png, bmp, tiff and jpeg image files
  • Able to scan Code 39 from whole or partial target image file using VB.NET Library
  • Compatible with other linear and 2d barcode reading, like VB.NET Code 128 & VB.NET QR-Code
Install VB.NET Code 39 Barcode Reader Control DLL
  1. Please integrate "BarcodeLib.BarcodeReader.dll" into your Visual Basic .NET project reference.
Use VB.NET Class Code to Read Code 39 1D Barcode Image
     Dim datas() As String = BarcodeReader.read("c:/code39-vbnet.gif", BarcodeReader.CODE39)
With above VB.NET code, all Code 39 barcodes from target image source (code39-vbnet.gif) will be read & decoded.
Optimize Code 39 Barcode Scanning Effects in VB.NET Projects

Set maxOneBarcodePerPage to true when you are scanning a maximum Code 39 barcode from an image file

  1. Then the reader will not read the whole source image from 4 directions with total five algorithms. Instead, it will stop reading & decoding after it detects one Code 39 barcode image.

Read & decode Code 39 barcode by just scanning partial image file

  1. Actually, the whole target image file can be counted as an area formed by two axes. And our VB.NET Code 39 barcode reader specifies the most left top point as (0%, 0%), and the most right bottom point as (100%, 100%).
  2. Thus, users could easily locate an area with following VB.NET class codes: (The VB.NET codes below are used to scan & read the Code 39 barcodes in the top 20% and bottom 20% area.)
     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:/code39-vbnet.gif", BarcodeReader.CODE39, setting)
Code 39 VB.NET Barcode Reading SDK Supported Barcodes
VB.NET barcode reader library can scan & decode 1d & 2d barcodes in VB.NET applications:
Decode VB 1D Barcodes:
Decode VB 2D Barcodes: