VB.NET Barcode Generator SDK Tutorial
Generate, create linear, 2d barcode images in Visual Basic .NET application
Download .NET Barcode Generator Free Evaluation
Purchase .NET Barcode Generator Suite License
"The process was quick and it was so easy to get the barcode. Reasonable price for professional product."
- Duane Waltz, UK

Generate, Create, Print, Draw linear, 2D Bar codes in VB.NET Projects

OnBarcode provides several DLLs in .NET Barcode Generator Control SDK for generating linear & 2d barcodes in Microsoft Visual Basic .NET applications. This article helps VB.NET professionals choose the right barcode generating component for your VB.NET development environment.To verify the generated barcodes, you can use our .NET Barcode Reader SDK to read and decode barcode in VB.NET.

VB.NET Barcode Scanners

Compare THREE .NET Barcode Generator Components in Different VB.NET Development Environments

ASP.NET Barcode Generator

  • Generate barcodes in VB.NET class
  • Generate barcodes in VB.NET console applications
  • Generate barcodes in VB.NET ASP.NET Web projects

.NET Barcode for WinForms

  • Generate barcodes in VB.NET class
  • Generate barcodes in VB.NET console applications
  • Generate barcodes in VB.NET Windows Forms projects

.NET Barcode Generator Controls

  • Generate barcodes in VB.NET class
  • Generate barcodes in VB.NET console applications
  • Generate barcodes in VB.NET Web Forms projects
  • Generate barcodes in VB.NET Windows Forms projects
  • Generate barcodes in VB.NET Reporting Service 2005 & 2008 projects
VB.NET Barcode Generator Quick Start

1. How to install .NET Barcode Generator Control to your Visual Basic .NET project?

Add OnBarcode.Barcode.WinForms.dll or OnBarcode.Barcode.ASPNET.dll to VB.NET project reference.

2. How to generate linear barcodes in VB.NET class?

    Dim barcode As OnBarcode.Barcode.Linear
    ' Create linear barcode object
    barcode = New OnBarcode.Barcode.Linear()
    ' Set barcode symbology type to Code-39
    barcode.Type = OnBarcode.Barcode.BarcodeType.CODE39
    ' Set barcode data to encode
    barcode.Data = "0123456789"
    ' Set barcode bar width (X    dimension) in pixel
    barcode.X = 1
    ' Set barcode bar height (Y dimension) in pixel
    barcode.Y = 60
    ' Draw & print generated barcode to png image file

Barcode Code-39

3. How to draw & print QR-Code in VB.NET class?

    Dim qrCode As OnBarcode.Barcode.QRCode
    ' Create QRCode object
    qrCode = New OnBarcode.Barcode.QRCode()
    ' Set QR Code data to encode
    qrCode.Data = "VB.NET QRCode"
    ' Set QRCode data mode (QR-Code Barcode Settings)
    qrCode.DataMode = OnBarcode.Barcode.QRCodeDataMode.Auto
    ' Draw & print generated QR Code to jpeg image file
    qrCode.ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg

4. How to create & print Data Matrix in VB.NET class?

    Dim datamatrix As OnBarcode.Barcode.DataMatrix
    ' Create Data Matrix object
    datamatrix = New OnBarcode.Barcode.DataMatrix()
    ' Set Data Matrix data to encode
    datamatrix.Data = "VB.NET DataMatrix"
    ' Set Data Matrix data mode (Data Matrix Barcode Settings)
    datamatrix.DataMode =    OnBarcode.Barcode.DataMatrixDataMode.ASCII
    ' Draw & print generated Data Matrix to gif image file
    datamatrix.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif

5. How to draw & print PDF-417 in VB.NET class?

    Dim pdf417 As OnBarcode.Barcode.PDF417
    ' Create PDF-417 object
    pdf417 = New OnBarcode.Barcode.PDF417()
    ' Set Data Matrix data to encode
    pdf417.Data = "VBPDF-417"
    ' Set PDF-417 data mode (PDF-417 Barcode Settings)
    pdf417.DataMode = OnBarcode.Barcode.PDF417DataMode.Auto
    ' Set PDF-417 number of rows
    pdf417.RowCount = 3
    ' Set PDF-417 number of columns
    pdf417.ColumnCount = 5

    ' Draw & print generated PDF-417 to gif image file
    pdf417.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif

6. In VB.NET Barcode Generator, how to print & encode barcodes to GIF, JPEG, PNG & BMP?

    Dim barcode As OnBarcode.Barcode.Linear
    barcode = New OnBarcode.Barcode.Linear()
    barcode.Type = OnBarcode.Barcode.BarcodeType.CODE39
    arcode.Data = "0123456789"

    ' Encode barcodes to other image format, by change file extension
VB.NET Barcode Generator Supported Barcode Symbology Types

Barcode Control for VB.NET - Bar Code Type Generation

OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.