Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET WinForms Barcode > Windows Forms Barcode Generation Guide > Code 39 .NET WinForms Barcode Generation Guide
Download Barcode for .NET WinForms Trial

Code 39 .NET WinForms Barcode Generator

How to Generate Code 39 Barcodes in .NET Windows Forms Projects
  • Create Code 39 images in .NET Windows Forms with C# or VB.NET programming
  • Produce a .NET Code 39 1D barcode image with an easy action of drag & drop
  • Provide various output ways for generated Code 39 barcode images
  • All barcodes and functions are stored into a .NET barcoding dll assembly
  • Compatible with .NET Framework 2.0, 3.0, 3.5 or later versions
  • Compatible with Visual Studio 2005 or later versions
Code 39 Barcode .NET WinForms Introduction
Code 39, owing to its relatively simple encodable principles, has become a widely-used linear barcode type. The Code 39 images produced by this .NET WinForms barcode generator are totally compatible with standards given in ISO/IEC 16388-2007.
How to Install Code 39 .NET WinForms Barcode Generator DLL
  1. Add Barcodelib.Barcode.WinForms.dll to project reference.
    • Step1: Click "Add Reference..." in "Solution Explorer".
    • Step2: Click "Browse" to find Barcodelib.Barcode.WinForms.dll in the unzipped file, and click "OK" button.
  2. Add Barcodelib.Barcode.WinForms.dll to the Toolbox.
    • Step1: Right click in Toolbox and select "Choose Items...".
    • Step2: In the pop-up window, click "Browse..." to locate the Barcodelib.Barcode.WinForms.dll.
    • Step3: Click "OK" and then four items will be listed in VS Toolbox, as is shown in following picture.

How to Generate Code 39 Barcode in .NET Windows Forms Program
With this .NET WinForms barcode generator, one can create a Code 39 image in just two steps:
  1. Add DDL to the Toolbox (as is shown in the above section).
  2. Drag the LinearWinForm from the Toolbox to your .NET Windows Form and a Code 128 image will appear. Then you could change the barcode type to Code 39 and other barcode settings from the Properties window on the right side.
How to Generate Code 39 Barcode in.NET WinForms Using C# or VB Class
One can generate a Code 39 symbol with just two steps:
  1. Add Barcodelib.Barcode.WinForms.dll to project reference.
  2. Copy the following sample code and run the project.
     BarcodeLib.Barcode.Linear code39 = new BarcodeLib.Barcode.Linear();
code39.Type = BarcodeType.CODE39;
code39.Data = "111111111111";
code39.ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg;
code39.BarColor = Color.Blue;
code39.BarWidth = 2;
code39.drawBarcode("C:/code39-winforms.jpeg");
These Code 39 demo codes are compiled in Visual C# 2005 View Detail Code 39 C# Demo Code
     Dim code39 As New BarcodeLib.Barcode.Linear()
code39.Type = BarcodeLib.Barcode.BarcodeType.CODE39
code39.Data = "111111111111"
code39.ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg
code39.BarColor = Color.Blue
code39.BarWidth = 2
code39.drawBarcode("C:/code39-winforms.jpeg")
These Code 39 demo codes are compiled in Visual Basic View Detail Code 39 VB.NET Demo Code
Code 39 .NET WinForms Barcode Generator Supported Barcode Types
WinForms 1D Barcodes:
WinForms 2D Barcodes:
Linear Barcodes Supported by .NET WinForms Barcode Control: Codabar, Code 11, Code 2 of 5, Code 39, Code 128, Code 93, EAN 8, EAN 13, EAN 128/GS1 128, Interleaved 2 of 5, ITF14, MSI Plessey, Intelligent Mail (OneCode), Planet, Postnet, RM4SCC (British Royal Mail 4-State Customer Barcode), UPC-A, UPC-E.
2D Barcodes Supported by .NET WinForms Barcode Control: Data Matrix, PDF 417, QR-Code.



See Also: Related Barcoding Tutorials

.NET Windows Forms Visual C# & Visual Basic Barcoding Tutorials
Basrcode Creation Guide for Other .NET Applications: