Easily add 1D/2D barcode generation features into .NET applications in VB.NET
VB.NET Barcode Generator
  • Professional barcode component for .NET 2.0/3.0/4.0
  • Generate QR Code, UPC/EAN, ISBN, ISBN, and more in .NET
  • Support VB.NET, C#, Managed C++ and Borland Delphi for .NET
Barcode in VB.NET
Generate Barcode in VB.NET
Avapose .NET Barcode Generator is a lightweight .NET control DLL which can be used for embedding bar coding generation capabilities to any .NET Framework-based applications. The generator supports most popular linear (1D) and matrix (2D) barcode images.
Avapose.NET Barcode Generator Control integrates well with VB.NET. The control is developed entirely in managed code, and it supports types of VB.NET projects. VB.NET developers could easily install it in their projects with simple X-copy deployment. .NET 2.0 and greater versions are supported.
The installed Avapose .NET Barcode Generator allows the developers to print quality barcode images in VB.NET projects. The generated barcode images could be customized easily. Scaling, rotation, aligning, and coloring of the barcode are supported.
VB.NET Barcode Generator SDK - Supported Barcode Symbologies
2D Barcodes:
QR Code

PDF 417 Data Matrix
1D Barcodes:
Codabar Code 11 Code 25 Code 39 Code 93
Code 128 EAN 8 EAN 13 EAN 128 Identcode
Onecode Interleaved 25 ISBN ISSN ITF-14
Leitcode MSI PLANET POSTNET RM4SCC
UPC-A UPC-E
.NET Barcode Maker Component in VB.NET - Installation Requirements

System Requirement

  • Windows XP, Windows Vista and Windows 7
  • .NET 2.0, 3.0 and advanced version
  • Microsoft Visual Studio 2005/2008/2010
  • Avapose.Barcode for .NET
.NET Barcode Writer in VB.NET - Barcode Generation

Drag and Drop Barcode to Windows Forms in VB.NET

  1. Download Avapose.com trial package and unzip;
  2. Copy Avapose.linearbarcode.winforms.dll or Avapose.matrixbarcode.winforms.dll to your Winforms project folder; (You do not need to copy .dll to .NET bin directory, Visual Studio will do so)
  3. Add LinearWinControl or MatrixWinControl to your Visual Studio Toolbox;
  4. Find Component LinearWinControl or MatrixWinControl in the Toolbox, drag and drop it to your forms;
  5. Activate the "Property" Window and change Barcode Type to your target barcode type;
  6. Customize the barcode on the forms accordingly.
(For more features with detailed information, see Linear Barcodes Tutorial and 2D Barcodes Tutorial)
Create Barcode in VB.NET in .NET Class
  1. Download Avapose.com trial package and unzip;
  2. Add Avapose.linearbarcode.winforms.dll or Avapose.matrixbarcode.winforms.dll to the VB .NET Winform project reference;
  3. Drag and drop a button to the form, and double-click the button;
  4. In the Form1.cs, copy the following sample code to accordingly

Barcode Generation in VB.NET Code (Code 128 for example):


Dim barcode As Avapose.linearbarcode.Linear = New Avapose.linearbarcode.Linear()
barcode.LinearBarcode = Avapose.linearbarcode.LinearBarcode.Code128
barcode.BarcodeData = "12345"

' barcode Size
barcode.MeasurementUnit = Avapose.linearbarcode.MeasurementUnit.Pixel
barcode.BarWidth_X = 2
barcode.BarHeight_Y = 50
barcode.BottomMargin = 10
barcode.TopMargin = 10
barcode.LeftMargin = 10
barcode.RightMargin = 10
barcode.BarcodeWidth = 175
barcode.BarcodeHeight = 50
barcode.ResizeBarcode = True
barcode.HoriBarAlignment = Avapose.linearbarcode.HoriBarAlignment.Center
barcode.Rotation = Avapose.linearbarcode.Rotation.Degree0

' Barcode Color
barcode.BackgroundColor = Color.White
barcode.ForegroundColor = Color.Black

'Barcode Text
barcode.DisplayText = True
barcode.TextFont = New Font("Times New Roman", 9, FontStyle.Regular)
barcode.TextColor = Color.Black
barcode.TextDistance = 4

'Barcode Image
barcode.Resolution = 96
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif
barcode.DrawBarcodeImage("c:/barcode.gif")

'create, draw, paint barcode on Graphics object
Public Sub DrawBarcodeImage(ByVal graphics As System.Drawing.Graphics)
'create, draw, paint barcode on Bitmap object
Public Function DrawBarcodeImage() As System.Drawing.Bitmap
'create and draw to image file
Public Sub DrawBarcodeImage(ByVal filename As String)
'create, draw, paint barcodeon Stream object
Public Sub DrawBarcodeImage(ByVal fileStream As System.IO.Stream)
Testmonial for Avapose Barcode Generator for .NET
We bought your product .NET Barcode Generator for C#.NET programming a few weeks ago, and it works pretty well!
Carlos Louis, Eureka Software Ltd, UK