Home  >  .NET Windows Forms Barcode Component  >  .NET WinForms Barcoding Tutorial  >  Windows Forms Code 39 Barcode Generator Library
.NET Windows Forms Code 39 Barcode Generator Control
.NET Windows Forms Code 39 Barcode Generator Control & DLL is a time-tested Code 39 barcode generator library, which can add, insert or draw Code 39 barcodes using C# and Visual Basic code for .NET Windows Forms applications.
Overview - Code 39 Barcode Generator Library for .NET WinFomrs Project
The KeepDynamic.com's Code-39 Barcode Generating DLL Class Library for .NET Windows Forms help you integrate Code-39 barcode generating & printing features into your .NET projects. The .NET Code-39 Barcode Control for Windows Forms can easily and quickly create Code-39, and Extended Code 39 barcodes in .NET WinForms project under the guidance pf latest Code-39 barcode standards. The .NET Windows Forms Code-39 Barcode control is easy-to-use and supports most popular .NET Development Tools like Microsoft Visual Studio2005/2008/2010 and Express Editions.
Related barcode creating solutions for generating Code 39 image:
Technologies of .NET Code-39 Barcode Generator Windows Forms Control
Barcode Imaging Setting of .NET WinForms Code 39 Barcode Generating Library
Various Code-39 barcode customizing options support allows the Code-39 barcode images, generated by the .NET Windows Forms Code-39 Barcode Control, to be configured with specific requirements in an easy & qucik way.
View more about Code 39 Barcode Properties of .NET Windows Forms Barcode Generator Library
How to Generate Code 39 Barcodes Using .NET Windows Forms Barcode Generator Control

How to Create Code 39 Barcode Image in .NET Windows Forms Controller

  1. Add KeepDynamic.BarCode.Windows.dll to your Windows Forms project and Visual Studio toolbox
  2. Drag & drop BarCodeControl to your .NET WinForms project from toolbox
  3. Click generated barcode images(Note: the defaut generated barcode is Code 128 barcode), change SymbologyType to Code39 and adjust in CodeText to Code 39 encodable data in the Properties window

How to Create Code 39 Barcode Image in .NET WinForms Class Using VB.NET & C#

  1. Add KeepDynamic.BarCode.Windows.dll to your Windows Forms project and Visual Studio toolbox
  2. Use following C# or VB.NET code to generate Code 39 barcode in yout .NET Windows Forms project
C# Code for Code 39 barcode generation in Windows Forms project
// generate linear barcode object 
BarCode barcode = new BarCode();

// Set barcode type to Code-39
barcode.SymbologyType = SymbologyType.Code39;

// Enter encodable value to Code39 barcode
barcode.CodeText = "CODE39";

//Display Code 39 start / stop character
barcode.DisplayStartStopChar = true;

// Add checksum character to Code 39
barcode.EnableChecksum = true;

// set wide & narrow bar width ratio
barcode.WideNarrowRatio = 3;

// set Code 39 barcode image settings
// Set bar width of Code 39
barcode.X = 3;

// set Code 39 barcode image
barcode.BarCodeWidth = 500;
barcode.BarCodeHeight = 90;

// Set Code39 drawing image format to PNG
barcode.Format = System.Drawing.Imaging.ImageFormat.Png;

// save generated barcode images to png image file using C#
barcode.drawBarcode("C://kdcode39.png");
VB.NET Code for Code 39 barcode generation in Windows Forms project
' generate linear barcode object 
Dim barcode As New BarCode()

' Set barcode type to Code-39
barcode.SymbologyType = SymbologyType.Code39

' Enter encodable value to Code39 barcode
barcode.CodeText = "CODE39"

'Display Code 39 start / stop character
barcode.DisplayStartStopChar = True

' Add checksum character to Code 39
barcode.EnableChecksum = True

' set wide & narrow bar width ratio
barcode.WideNarrowRatio = 3

' set Code 39 barcode image settings
' Set bar width of Code 39
barcode.X = 3

' set Code 39 barcode image
barcode.BarCodeWidth = 500
barcode.BarCodeHeight = 90

' Set Code39 drawing image format to PNG
barcode.Format = System.Drawing.Imaging.ImageFormat.Png

' save generated barcode images to png image file using C#
barcode.drawBarcode("C://kdcode39.png")
Read more: Add barcode creating features into .NET projects using .NET Windows Forms barcode control
Generate other 1D & 2D Barcode Types in .NET WinForms Using Code 39 Barcoding Library