Barcoding  >  .NET Barcode for VB.NET on WinForms  >  VB.NET Barcode Generator


VB.NET Barcode Generation Tutorial

How to generate linear & 2D barcodes in VB.NET projects?

VB.NET Barcode Generator offers the most affordable .NET barcode generator for barcode .NET professionals.


Overview

VB.NET Barcode generator, provided by KeepDynamic.com, aims to help you easily and simply create both linear (1D) and Matrix (2D) barcodes that you need in your Microsoft .NET applications. More than 70 linear and 2D barcodes are able to be generated by this Barcode VB.NET generator. Such as:
2D Barcodes Code-39 related Code-128 related Code-25 related EAN/UPC related Other Linear Barcodes
Data Matrix

PDF-417

QR-Code

Code-39

Code-93

Code-128

GS1-128/UCC/EAN-128
Code 2 of 5

Interleaved 2 of 5

ITF-14

Identcode

Leitcode

EAN-8

EAN-13

ISBN

ISSN

UPC-A

UPC-E
Codabar

Code-11

POSTNET

PLANET

USPS Intelligent Mail Barcode (OneCode)

RM4SCC

MSI Plessey


Features

Barcode VB.NET Generator Technology

Our Barcode Generator for VB.NET is completely developed in .NET 2.0, and compatible with the .NET 2.0 and greater development environments. You can easily integrate it into your VB.NET applications. Both linear and matrix barcode are able to be immediately generated in your VB.NET Classes and console applications. In VB.NET, ASP.NET web projects, and VB.NET Windows Forms software, barcode images can be easily created. This VB.NET Barcode Generator also supports barcode generating in Reporting Service & Crystal Reports document

Barcode images generated by VB.NET Barcode Generator

This VB.NET Barcode Generator supports the image formats such as JPEG, GIF, TIFF, BMP, and PNG. Properties of barcode images, such as the barcode size, are able to be modulated based on users' requirements and the image orientation may be set to 0, 90, 180, or 270 degrees. With the thermal printer support, high quality barcode images are able to be printed even on low resolution printers as well as on high resolution printers. White bar increase option widens the white space between the bars for improving the readability.

Customization of Barcodes

VB.NET Barcode generator provides diversified options for easily customizing the barcodes. Text Options enables or disables the human-readable text in the linear barcode VB. NET generator. Checksum Options may enable the human-readable checksum character appeared or not, however, the checksum character is actually encoded into the linear Barcode. Graphic Configuration Options configure the colors of the foreground and background. Tilde Functions allow the functions, such as returns, tabs and other ones, to be encoded easily. Bearer bar for ITF and linear barcode are easy to be generated

Source code and Developer License

VB.NET source code is supplied with the purchase of unlimited developer licenses. Royalty will be free with the purchase of a Developer License.

How to generate linear (1D) barcodes in VB.NET Class?

The following VB.NET code illustrates how to generate linear barcodes in VB.NET class:

// Create linear barcode object in VB.NET
Dim barcode As KeepDynamic.Barcode.Generator.BarCode
barcode = New KeepDynamic.Barcode.Generator.BarCode()

// Set barcode symbology type to Code-128 in VB.NET
barcode.SymbologyType = SymbologyType.Code128;

// Set barcode value in VB.NET
barcode.CodeText = "Code128"

// Set barcode drawing image format to PNG in VB.NET
barcode.Format = ImageFormat.Png

// Generate barcode & encode to the png image in VB.NET
barcode.drawBarcode("C://barcode-code128-vbnet.png")
  
// Generate barcode & print to System.Drawing.Graphics object in VB.NET
barcode.drawBarcode("Graphics object")
 
// Create barcode & draw to System.IO.Stream object in VB.NET
barcode.drawBarcode("Stream object")


How to generate Data Matrix barcodes in VB.NET Class?

The following VB.NET code illustrates how to generate Data Matrix barcodes in VB.NET class:

// Create Data Matrix barcode object in VB.NET
Dim barcode As KeepDynamic.Barcode.Generator.DataMatrix
barcode = New KeepDynamic.Barcode.Generator.DataMatrix()

// Set Data Matrix barcode value in VB.NET
barcode.CodeText = "Data Matrix in VB.NET"

// Set Data Matrix drawing image format to PNG in VB.NET
barcode.Format = ImageFormat.Png

// Generate Data Matrix barcode & encode to the png image in VB.NET
barcode.drawBarcode("C://barcode-datamatrix-vbnet.png")
  
// Generate Data Matrix barcode & print to System.Drawing.Graphics object in VB.NET
barcode.drawBarcode("Graphics object")
 
// Create Data Matrix barcode & draw to System.IO.Stream object in VB.NET
barcode.drawBarcode("Stream object")


How to generate PDF-417 barcodes in VB.NET Class?

The following VB.NET code illustrates how to generate PDF-417 barcodes in VB.NET class:

// Create PDF417 barcode object in VB.NET
Dim barcode As KeepDynamic.Barcode.Generator.PDF417
barcode = New KeepDynamic.Barcode.Generator.PDF417()

// Set PDF-417 barcode value in VB.NET
barcode.CodeText = "PDF417 in VB.NET"

// Set PDF-417 drawing image format to PNG in VB.NET
barcode.Format = ImageFormat.Png

// Generate PDF-417 barcode & encode to the png image in VB.NET
barcode.drawBarcode("C://barcode-pdf417-vbnet.png")
  
// Generate PDF-417 barcode & print to System.Drawing.Graphics object in VB.NET
barcode.drawBarcode("Graphics object")
 
// Create PDF-417 barcode & draw to System.IO.Stream object in VB.NET
barcode.drawBarcode("Stream object")


How to generate QR-Code barcodes in VB.NET Class?

The following VB.NET code illustrates how to generate QR-Code barcodes in VB.NET class:

// Create linear barcode object in VB.NET
Dim barcode As KeepDynamic.Barcode.Generator.QRCode
barcode = New KeepDynamic.Barcode.Generator.QRCode()

// Set QR-Code barcode value in VB.NET
barcode.CodeText = "QRCode in VB.NET"

// Set QR-Code drawing image format to PNG in VB.NET
barcode.Format = ImageFormat.Png

// Generate QR-Code barcode & encode to the png image in VB.NET
barcode.drawBarcode("C://barcode-qrcode-vbnet.png")
  
// Generate QR-Code barcode & print to System.Drawing.Graphics object in VB.NET
barcode.drawBarcode("Graphics object")
 
// Create QR-Code barcode & draw to System.IO.Stream object in VB.NET
barcode.drawBarcode("Stream object")


Creating barcodes using .NET Barcode Generator Windows Form Control

To create barcodes in VB.NET Windows Forms applications, do the following procedures:

  • Add KeepDynamic.BarCode.Windows.dll to your VB.NET project reference

  • Add KeepDynamic.BarCode.Windows.dll to windows project toolbox

  • Drag the one of the BarCodeControl, DataMatrixControl, PDF417Control, QRCodeControl item to your windows forms


Creating barcodes using ASP.NET Barcode Generator ASP.NET Web Form Control

To create barcodes in VB.NET ASP.NET Web Forms applications, do the following procedures:

  • Add KeepDynamic.BarCode.AspNet.dll to your VB.NET project reference

  • Add KeepDynamic.BarCode.AspNet.dll to windows project toolbox

  • Drag the one of the BarCodeControl, DataMatrixControl, PDF417Control, QRCodeControl item to your ASP.NET Web form pages, in your ASP.NET design view