BizCode Barcode Generator for Winforms
The most robust & powerful barcode component for Microsoft .NET Windows Forms
Quick Overviews
  • Professional barcode control
  • Flexible controls provided
  • Support WinForms projects
  • Linear & 2D barcodes support
  • Winforms Data-binding support
How to Encode QR Code Data in .NET WinForms Winforms Barcode Generator is a collection of components for generating and customizing QR Code barcode as well as other 20+ linear & 2D barcode within Winforms applications, .NET class and console applications.
Winforms QR Code Barcode Generator makes it easy to work with Microsoft Visual Studio, C#.NET, VB.NET and compatible with QR Code specification in ISO - ISO / IEC 18004 (2nd edition 2006-09-01). More information about QR Code barcode related property settings, please see:
QR Code Data Related Properties

Data Mode

With Barcode Generator for Winforms, users are allowed to set encode QR Code using different data modes using DataMode property.

6 QR Code data modes:
  • Auto: encodes all 256 possible 8-bit byte values
  • Alphanumeric: encodes uppercase and lower case letters Aa-Zz
  • Byte: encodes 8-bit values according to ISO/IEC 8859-1
  • Numeric: encodes 10 Arabic digits 0-9
  • KanjI: encodes Kanji characters
  • Customer: encodes data according to the customer


With Barcode Generator for Winforms, users are allowed to control QR Code barcode data length using Code property.


With Barcode Generator for Winforms, users are allowed to encode some special characters for QR Code barcode using a tilde characters "~" using ProcessTilde property.
  • 1-byte character: ~0dd/~1dd/~2dd (character value from 000 ~ 255); ASCII character '~' is presented by ~126
    Strings from "~256" to "~299" are unused
  • 2-byte character (Unicode): ~6ddddd (character value from 00000 ~ 65535)
    Strings from "~665536" to "~699999" are unused
  • for GS1 AI Code:
  • ECI: ~7dddddd (valid value of dddddd from 000000 to 999999)
  • SJIS: from ~9ddddd (Shift JIS 0x8140 ~ 0x9FFC and 0xE040 ~ 0xEBBF)

Error Correction Level

With Barcode Generator for Winforms, users are allowed to create QR Code with four different levels of error corrections: L, M, H, and Q using ECL property.
Encode QR Code Barcode Data in Winforms
Ensure have installed those programs before you encrypt QR Code valid data in .NET Winforms:
  • Microsoft .NET Framework 2.0/3.0/4.0
  • Microsoft Visual Studio 2005/2008/2010 (Express, Professional & Standard Edition)
  • Barcode Generator for Winforms installed
Customize QR Code Barcode Images in Windows Forms Using BarcodeControl
  1. Add .NET Winforms Barcode Control onto your .NET Visual Studio Toolbox;
  2. Drag and drop the WinQRCode control into the Forms;
  3. You will see a QR Code barcode image generated;
  4. Right click you mouse to activate barcode setting panel;
  5. Select DataMode, Code, ProcessTilde and ECL respectively to customize your QR Code barcodes.
Encode QR Code Barcode Data in Winforms Using C#, VB.NET Class
using BusinessRefinery.Barcode;

QRCode barcode = new QRCode();

// Select different data mode for QR Code data encoding
barcode.DataMode = QRCodeDataMode.AlphaNumeric;

// Modify QR Code data length
barcode.Code = "QR Code";

// Select different ECL for QR Code
Barcode.ECL = QRCodeECL.H;

Dim barcode As BusinessRefinery.Barcode.QRCode = 
New BusinessRefinery.Barcode.QRCode()

' Encode QR Code using tilde character "~"
barcode.ProcessTilde = true
barcode.Code = "~7412589"

' Select different ECL for QR Code
Barcode.ECL = QRCodeECL.H