.NET Barcode Generator SDK

Make & Create Barcode in VB.NET
This .NET barcode creator & generator library can be used in VB.NET projects, like VB.NET Class Library, Console Application, Windows Forms Application, and ASP.NET Web Application. It can integrate high print quality barcode generation and drawing features into your VB.NET windows and web applications. Most commonly bar codes can be generated and created using VB.NET code, like creating and drawing 1d barcodes EAN-13, UPC-A, Code 39, Code 128, and 2d barcodes QR Code, Data Matrix, PDF-417, etc.
CnetSDK .NET Barcode Creator & Generator is completely compatible with Windows System (32 or 64 bit), .NET Framework 2.0 and above, Visual Studio 2005 and above. And there's no need for other VB.NET library components or assemblies for your VB.NET Project. You can simply add VB.NET project reference to CnetSDK.Barcode.Generator.Trial.dll, which can be found in your downloaded trial package.

Please Note: a watermark ("www.cnetsdk.com") will be shown on each generated barcode image randomly if you are using a free trial library.
CnetSDK .NET Barcode Creator Library can draw and generate barcode to a local image file format in VB.NET programs, like JPEG, TIFF, BMP, GIF, and PNG. Moreover, you can use the following VB.NET API methods to make, create and encode barcode to a Stream, Bitmap or Byte Array.
' Draw and generate 1d & 2d barcodes as a local image.
public void CreateBarcode(String filename)
' Draw and generate 1d & 2d barcodes to a Stream object.
public void CreateBarcode(Stream stream)
' Draw and generate 1d & 2d barcodes to a Bitmap object.
public Bitmap CreateBarcode()
' Draw and generate 1d & 2d barcodes to a byte[] object.
public Byte() CreateBarcodeInBytes()
It's quite simple to draw, make and create linear and 2d bar codes using CnetSDK .NET Barcode Generator SDK in VB.NET program. You can directly copy the following VB.NET sample codes into your Visual Studio VB.NET project to have a quick evaluation. And we also illustrate how to set bar code properties and create the desired barcode in VB.NET application.
1. How to Make and Create Barcode in VB.NET Application

Imports System
Imports System.Drawing
Imports CnetSDK.Barcode.Generator.Trial

Module BarcodeGeneratorVBDemo

    Sub Main()
        Dim vbqrcode As CSBarcode = New CSBarcode()
        vbqrcode.BarcodeData = "CnetSDKQRCodeBarcode"
        vbqrcode.BarcodeType = CSBarcodeType.QRCode
        vbqrcode.BarcodeWidth = 300
        vbqrcode.BarcodeHeight = 300
        vbqrcode.QRCodeErrorCorrectionLevel = ECLMode.L
    End Sub

End Module
2. How to Make & Create Barcode in VB.NET, and Set Barcode Properties

Imports System
Imports System.Drawing
Imports System.Drawing.Imaging
Imports CnetSDK.Barcode.Generator.Trial

Module BarcodeGeneratorVBDemo

    Sub Main()
        ' Generate a CnetSDK barcode object.
        Dim vbcode39 As CSBarcode = New CSBarcode()

        ' Set barcode data that will be encoded.
        vbcode39.BarcodeData = "111000222333"

        ' Set a barcode type to draw and make.
        vbcode39.BarcodeType = CSBarcodeType.Code39

        ' Set image width of Code 39 barcode image.
        vbcode39.BarcodeWidth = 200

        ' Set image height of Code 39 barcode image.
        vbcode39.BarcodeHeight = 100

        ' Set foreground color of Code 39 barcode image.
        vbcode39.BarColor = Color.Black

        ' Set background color of Code 39  barcode image.
        vbcode39.BackgroundColor = Color.White

        ' Set an image file format to save Code 39 barcode.
        vbcode39.CSPictureFormat = ImageFormat.Png

        ' Save Code 39 barcode to a local PNG image file.
    End Sub

End Module
CnetSDK .NET Barcode Creator & Generator SDK can be used to draw and create barcode image on ASPX web page. Moreover, you can integrate advance barcode creator and generator features for .NET, C# & VB.NET desktop application development. Please see online tutorials for more details: Add Barcode Generating Features to ASP.NET Web Application, Add Barcode Generating Features to .NET Windows Application. Here, we also provide Barcode Creator Library C# Sample Code for your reference.
All bar codes listed below are supported by our .NET barcode generator and maker library. You can just set barcode type property to the one you want, and then create and draw high print quality barcode image for your .NET, C#, VB.NET windows and web projects.

.NET QR Code Generator & Maker

.NET Data Matrix Generator & Maker

.NET PDF 417 Generator & Maker

.NET Aztec Generator & Maker

.NET Code 39 Generator & Maker

.NET Code 128 Generator & Maker

.NET EAN-8  Generator & Maker

.NET EAN-13 Generator & Maker

.NET UPC-A Generator & Maker