VB.NET Barcode Generator SDK Tutorial
Generate, create linear, 2d barcode images in Visual Basic .NET application
"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
- Create barcodes in VB.NET Class & Console application
- Generate barcode images in VB.NET ASP.NET web project
- Draw barcodes in VB.NET Windows Forms software
- Print barcodes in Reporting Services & Crystal Reports document
- Generate & encode barcode images to Jpeg, Gif, Tiff, Bitmap formats
- Completely support in .NET 2.0 and later versions
- Generating 2d (matrix) barcode images, including QR Code in VB.NET, PDF-417 in VB.NET, Data Matrix in VB.NET.
- Creating linear (1d) barcode images, including Code 39 in VB.NET, Code 128 in VB.NET, EAN-8 in VB.NET, EAN-13 in VB.NET, GS1-128 in VB.NET, ITF-14 in VB.NET, UPC-A in VB.NET, UPC-E in VB.NET.
- Mature VB.NET barcode generating component SDK
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
Top
- Generate barcodes in VB.NET class
- Generate barcodes in VB.NET console applications
- Generate barcodes in VB.NET ASP.NET Web projects
- Generate barcodes in VB.NET class
- Generate barcodes in VB.NET console applications
- Generate barcodes in VB.NET Windows Forms projects
- 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
Top
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.drawBarcode("C://vbnet-code39.png")
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
qrCode.drawBarcode("C://vbnet-qrcode.jpg")
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
datamatrix.drawBarcode("C://vbnet-data-matrix.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
pdf417.drawBarcode("C://vbnet-pdf417.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
barcode.drawBarcode("C://vbnet-barcode-code39.png")
VB.NET Barcode Generator Supported Barcode Symbology Types
Top
Barcode Control for VB.NET - Bar Code Type Generation