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 Generate Code 39 in .NET WinForms Library
Code 39, known Alpha 39, Code 3 of 9, USD-3, Type 39 as well, was invented by Intermec Co. in 1974. It is linear low-density alphanumeric barcode symbology and generally used by American Department of Defense.
Code 39 Generator for Winforms is one part of BizCode Generator for Winforms, which is mature and reliable .NET barcode generating component for creating Code 39 barcode in .NET programs.
.NET Winform Code 39 Generator is easy to be integrated in C#, as well as Visual Basic .NET, managed C++ and Delphi .NET and other development environment in .NET Framework that supports .NET DLLs or controls. Mostly, it is used in Microsoft Visual Studio.

This integration guide suggests how to use Code 39 Barcode Control in.NET Windows forms applications. You may get more specific user manuals here on encoding Code 39 & Code 39 Extension barcode, customizing Code 39 & Code 39 Extension barcode image, and resizing Code 39 & Code 39 Extension barcode.
Code 39 Generator for .NET Winforms Features
Encodable CharactersSupport to encode:
- Numeric data: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
- Uppercase letters: A - Z
- Seven special characters: -, $, :, /, ., +
Code 39 Extension Encodable CharactersSupport to encode Standard ASCII characters 0-127 (default: ISO/IEC 646)
Barcode SpeciationAccurate Code 39 & Code 39 Extension generation in accordance with ISO / IEC 16388 (2nd edition 2007-05-15)
Flexible Size Option Multiple options provided to adjust Code 39 barcode X, Y dimension, barcode width & height, wide/narrow ratio, quiet margin etc.
Check Digit CalculationProvides an optional Mod 43 check digit for Code 39 barcodes
Code TextEasy to customize font style of human-readable text and display it under Code 39 barcodes
Code 39 Generator for .NET Winforms Requirements
Windows OS
- Microsoft Windows 7
- Windows Server 2008
- Windows Vista
- Windows Server 2003
- Windows XP
Development Environments
- .NET 2.0/3.0/4.0
- C#, VB.NET, Managed C++, Borland Delphi    for.NET
- Visual Studio 2005/2008/2010
- .NET Windows Forms Application
- .NET Class and Console Applications
Install Code 39 Generator for .NET Winforms
  1. Download BizCode Generator for Winforms and unzip;
  2. Add reference: Add "BusinessRefinery.Barcode.Win.dll" to your .NET Winforms project reference;
  3. Add to toolbox: To add Barcode Control to your Windows Forms toolbox.
How to Drag & Drop Barcode Control into .NET Winforms projects?
  1. Install .NET Winforms Barcode Control;
  2. Add .NET Winforms Barcode Control onto your .NET Visual Studio Toolbox;
  3. Drag and drop the WinLinearBarcode control into the Forms;
  4. You will see a barcode image generated; more Code 39 barcode setting please see below.
How to Generate Code 39 with C#, VB.NET Class in .NET Winforms?
Copy those following sample code to your .NET Winforms projects:
using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.CODE39;
barcode.Code = "0123456789";
barcode.DisplayStartStopChar = true;
barcode.Resolution = 104;
barcode.Rotate = Rotate.Rotate180;
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode2ImageFile("c:/code-39-csharp.gif");
Dim barcode As BusinessRefinery.Barcode.Linear = 
New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.CODE39
barcode.Code = "0123456789"
barcode.Resolution = 104
barcode.Rotate = BusinessRefinery.Barcode.Rotate.Rotate270
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/code-39-vb-net.gif")