Barcode for .NET Suite > Generate Barcode in VB.NET

How to Generate Barcodes in VB.NET

Using Free Barcode Evaluation to Add 1d and 2d Barcode Images in VB.NET Applications
  • Mature barcode component dll to integrate 1d and 2d barcoding features into .NET using VB.NET programming
  • Compatible with latest barcode standards including GS1 and ISO/IEC specifications
  • Easy to encode and add barcodes in ASP.NET web sites, Windows forms and other .NET projects
  • Support 20+ major barcode symbologies, including Code 128, EAN13, GS1-18, UPC-A, QR Code, etc
  • Checksum digit and quiet zones automatically calculated and added according to standards
  • Flexible to adjust and customize barcode parameters, like width, height, text font, etc
  • Print and save barcode images in various image formats (Png, Jpeg/Jpg, Gif, Tiff and Bmp)
  • Flexible and perpetual developer licenses for purchase of this VB.NET Barcode Generator DLL SDK
KA.Barcode for .NET Suite generates barcode images using VB class in ASP.NET Web, .NET WinForms, Crystal Reports, and RDLC Report applications. It supports most common 2D barcodes, including QR Code, Data Matrix and PDF-417.
KA.Barcode for .NET Suite also supports most common linear barcodes, including Codabar, Code 39, Code 128, EAN-128, EAN-13, UPC-A, EAN-8, UPC-E, Code11, Identcode, Interleaved 2 of 5, MSI Plessey, Intelligent Mail, Code 93, Leitcode, Planet, Postnet, ISSN, ISBN, Code 2 of 5, ITF-14 and RM4SCC.
Download Free KA.Barcode for .NET Evaluation
Permanent Evaluation
This trial/evaluation version can be used for an unlimited period of time.
Evaluation Limitation
A "KA Barcode" watermark is generated with the barcode image. And it is forbidden to use this version for any business application. For commercial purposes, please purchase the applicable product license.
How to Install Barcode Control for .NET Applications
Download and unzip KA.Barcode for .NET Suite trial package and you will see "KeepAutomation.Barcode.Windows.dll" and "KeepAutomation.Barcode.Web.dll" in the unzipped package. Then, you need to add the required dll to your Visual Studio reference.
  • Create a new project in .NET Visual Studio.
  • Add "KeepAutomation.Barcode.Windows.dll" or "KeepAutomation.Barcode.Web.dll" to your Visual Studio project.
How to Generate Barcodes in VB.NET Class
You can generate and output the generated barcode images to multiple objects with VB programming. Refer to the following Visual Basic sample code:
VB Sample code
     Dim barcode As New BarCode()
barcode.Symbology = KeepAutomation.Barcode.Symbology.Code128Auto
barcode.CodeToEncode = "214578253"
barcode.ChecksumEnabled = True
barcode.X = 1
barcode.Y = 50
barcode.BarCodeWidth = 100
barcode.BarCodeHeight = 70
barcode.Orientation = KeepAutomation.Barcode.Orientation.Degree270
barcode.BarcodeUnit = KeepAutomation.Barcode.BarcodeUnit.Pixel
barcode.DPI = 72
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Tiff
barcode.generateBarcodeToImageFile("C://barcode-code128-csharp.tiff")

'Output barcode images to different objects
'barcode.generateBarcodeToStream("Stream Object")
'barcode.generateBarcodeToGraphics("Graphics Object")
'barcode.generateBarcodeToGraphics("HttpResponse Object")
How to Stream Barcodes for ASP.NET Web Using VB.NET
This barcode generator for .NET Suite enables you to create barcode images using Visual Basic class. You can use the following demo code to generate barcode in ASP.NET web applications. Or you may refer to more information of VB barcode generation for ASP.NET.
  1. Open your Visual Studio and create a web application project.
  2. Add reference "KeepAutomation.Barcode.Web.dll" to your ASP.NET Web project.
  3. Compile the following VB demo code.
  4. Debug and you will see the generated barcode image.
VB Sample code
     Dim barcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

barcode.Symbology = KeepAutomation.Barcode.Symbology.Code39
barcode.CodeToEncode = "123456789"
code39.generateBarcodeToImageFile ("C://code39.png")
How to Create Barcodes in .NET WinForms Using VB.NET
  1. Create a Windows application project in your Visual Studio.
  2. Add "KeepAutomation.Barcode.Windows.dll" to the Forms project reference.
  3. Write VB sample code for barcode creation as below.
  4. Run this windows project to see the created barcode image.
VB Sample code
     Dim barcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

barcode.Symbology = KeepAutomation.Barcode.Symbology.Code128Auto
barcode.CodeToEncode = "01234567890"
code128.generateBarcodeToImageFile("C://code128.png")
You can also refer to this barcode properties page to customize your barcode images.
How to Draw Barcodes for Crystal Reports Using VB.NET
This barcode generator SDK also supports Crystal Reports VB.NET barcode creation & drawing. A detailed generation guide is also provided.
How to Print Barcodes for RDLC Reports Using VB.NET
.NET developers are able to generate linear and 2D barcode images in RDLC Local Report using Visual Basic programming. Here is detailed information about creating barcode images in RDLC Reports using VB.NET.
Download & InstallationBarcode in VB.NETFor ASP.NETFor .NET WinFormsFor Crystal ReportsFor RDLC ReportsUsing C#Data Matrix for VB.NETPDF417 for VB.NETQR Code for VB.NETmoreCodabar for VB.NETCode 39 for VB.NETCode 128 for VB.NETEAN-8 for VB.NETEAN-13 for VB.NETEAN 128 for VB.NETIntelligent Mail for VB.NETInterleaved 2 of 5 for VB.NETISBN for VB.NETITF-14 for VB.NETRM4SCC for VB.NETUPC-A for VB.NETUPC-E for VB.NETmore
KeepAutomation provides complete barcode automation solutions for Business Application, Enterprise Developement Project, and mobile applications. We recommend the customers use high quality .net image viewer sdk, c# image viewer, vb.net image viewer, C# PDF document viewer, VB.NET PDF document viewer, C# Word document viewer, VB.NET Word document viewer, C# Tiff image viewer, VB.NET Tiff image viewer from RasterEdge.com.