Generate Barcode in ASP.NET Using VB.NET
Use free VB.NET class demo codes to generate barcode in ASP.NET applications
It works well throughout my whole project. And barcoding features are easy to be implemented with the help of guide documents.
- Kevin Cox, US
Tutorial on ASP.NET Barcode Generation & Implementation using Free VB.NET code
- Mature ASP.NET barcode generating SDK , compatible with VB.NET code
- Written in managed C#.NET, suitable for barcode generation in ASP.NET web site
- Easy to generate 1d & 2d barcodes in ASP.NET applications using VB.NET
- Simple to print & display bar code graphics in SSRS and other reportings with data from database
- Sample code provided to retrieve Code 39, Code 128, Data Matrix, QR Code in VB.NET
- Create & save barcodes in both memory & image format files in VB.NET ASP.NET class & console
- Customize properties of generated barcode images using VB.NET code
- Flexible & royalty-free developer licenses with source code for ASP.NET programmers
Barcode Generator Library for .NET is a mature barcode component engine which supports over 20 mainstream linear & 2d barcode generation in Windows Forms applications, ASP.NET web applications & Internet Information Services (IIS) using Visual Basic .NET programming. Its quick & accurate barcode generating feature has been designed since 2004.
Looking for other VB.NET barcoding tutorial? Here are some more VB.NET-related barcode guides:
- How to Generate Barcode in VB.NET - Step-by-step guide to print postal / numeric barcode symbology in VB.NET programs
- How to Draw Barcode in VB.NET WinForms - Examples to create barcodes in WinForms with free barcode plugin trial download
- How to Adjust Barcode Image in VB.NET - Sample code to implement barcode labels in VB.NET and adjust image formats
- How to Encode Barcode in VB.NET - VB.NET sample code to encode GS1 barcode or Unicode string into barcode pictures
- Install Barcode Library DLL to ASP.NET web project.
Find OnBarcode.Barcode.ASPNET.dll from downloaded trial package and integrate it into your Visual Studio ASP.NET web project. - Add Barcode Control Library for ASP.NET to Toolbox.
Right click Toolbox, select Choose Items..., and click Browse... to locate OnBarcode.Barcode.ASPNET.dll. - Copy qrcode.aspx and qrcode.aspx.cs to your web project folder.
If you want to create linear barcodes or other 2d barcodes, please copy corresponding files to your project folder. - Drag and drop QRCodeWebForm to your ASPX web forms and run the project.
Then, a high-quality barcode image will be visible on your ASP.NET project and you can freely adjust its properties using VB.NET. Please see details from QR Code property settings.
How to Create & Print Barcode in IIS Streaming

Top
- Copy barcode folder along with its contents from downloaded package to your IIS.
- Create a new virtual directory and name it barcode.
- Restart IIS and navigate to (QR Code encoding numbers): http://YourDomain:Port/barcode/qrcode.aspx?DATA=9876543210
- To generate barcode image in html or aspx pages, you may directly use a image tag like below:
<img src="http://YourDomain:Port/barcode/qrcode.aspx?DATA=0123456789" />
How to Generate Barcode in ASP.NET Class Using VB.NET

Top
- Add Barcode Library DLL for ASP.NET to your ASP.NET VB.NET project reference for barcoding via VB.NET.
- Copy & paste following VB.NET sample code syntaxt to generate barcode image (Jpg, Tiff, Bitmap) on ASP.NET web page.
' Create a ASP.NET QR Code object
Dim qrCode As New QRCode()
' Customize QR Code barcode data
qrCode.Data = "ASP.NET VB.NET QR Code"
' Customize QR Code data mode
qrCode.DataMode = QRCodeDataMode.Auto
' Customize QR Code barcode size
qrCode.X = 2
qrCode.LeftMargin = 8
qrCode.RightMargin = 8
qrCode.TopMargin = 8
qrCode.BottomMargin = 8
' Encode created QR Code to png image file and save it to C:\
qrCode.ImageFormat = System.Drawing.Imaging.ImageFormat.Png
qrCode.drawBarcode("C://aspnet-vb-net-qrcode.png")
VB.NET Barcode Generation Guides & Tutorials for Each Barcode

Top
Barcode Control for VB.NET - Bar Code Type Generation