Create Code 39 Barcodes Using VB.NET Class Library

Add high quality Code 39 in VB.NET programs in Windows Applications and ASP.NET
Code 39 Barcode Generator DLL/SDK for VB.NET - Benefits
Easy-to-Use Barcode DLL in VB.NET
VB.NET Code 39 Barcode Generation SDK is easy to install and generate Code 39 and Extended Code 39 in Visual Basic.NET programs such as VB.NET Winforms applications, VB.NET reporting scenarios such as Crystal Report, VB.NET class library and console applications. Free VB.NET sample code is provided for quick generation.
Easy-to-Redistribute Barcode Generator SDK in VB.NET
Barcode functions and barcode symbologies are compressed into a single dll file. Users are easy to redistribute it without the need of activation key or registration code.
Rich Basic Settings for Code 39
With barcode generator SDK for VB.NET, you can easily customize Code 39 properties such as size, wide to narrow ratio, color, etc. Barcode rotation can be adjusted in four different angles (0, 90, 180 and 270). In addition to this, barcode image margins can be managed and you can set customized resolutions.
Code 39 Special Settings Customization
Extended Code 39 is supported to generate with this barcode library DLL for VB.NET, which can encode all the ASCII characters. Developers are free to modify Code 39 inter-character gap that is the space between two characters. Besides, Start and stop "*" character can be removed by setting the "DisplayAsterisk" to false.
Multiple Barcode Types Supported in VB.NET
Code 39 Barcode Generation SDK/DLL in VB.NET - Overview
With Barcode Generator for VB.NET, you can easily generate all major barcodes in VB.NET applications and customize barcodes to suit your needs by specifying different kinds of symbologies. The generated barcodes can be output as popular image formats including Bmp, Png, Jpeg, Gif and Tiff.
Code 39 Introduction
Code 39, the first alphanumeric barcode symbology designed to mark item numbers is widely used in the whole world in non-retail fields. It is a variable length, discrete barcode, which consists of a starting quiet zone, start character "*", encoded data, a stop character "*" and an ending quite zone. Checksum character for Code 39 is optional, for it is a self-checking barcode specification.
Code 39 Encodable Characters
  • Numeric Characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Uppercase letter: A-Z
  • Special characters: - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
Extended Code 39 Encodable Character
  • Standard ASCII characters
Code 39 Barcode Control DLL in VB.NET - Code 39 Generation
Print Code 39 Barcodes in Windows Application using VB.NET
  • Download Terrek.Dotnet.zip, save it in local drive, and unzip;
  • Add Terrek.Barcode.DotNET.dll to the VB.NET Winform project reference;
  • Drag and drop a button to the form, and double-click the button;
  • In the Form1.cs, copy the following VB sample code to the project
Add Code 39 Barcodes in ASP.NET Applications using VB.NET
  • Download Terrek ASP.NET barcode trial and unzip;
  • Add Terrek.Barcode.ASPNET.dll to your project. Do not copy the DLL to the bin directory, Visual Studio will do so automatically;
  • Open your Visual Studio in Web Forms with VB code and add Terrek.Barcode.ASPNET.dll to your reference in "Solution Explorer";
  • Go to "Barcode" folder in the trial package, copy files "barcode.aspx" and "barcode.aspx.cs", to the project where aspx barcodes are generated;
  • Right click on the aspx name in "Solution Expolrer" and select "View Code";
  • Copy the sample VB code in to the project and run the program.
Encode Code 39 Barcodes Using VB.NET - Free VB.NET Sample Code
Dim Code39 As Terrek.Barcode.DotNET.DotNETControl = New Terrek.Barcode.DotNET.DotNETControl
'Set barcode type, encode data, resize and UOM properties
Code39.Symbol = Terrek.Barcode.BarcodeSymbol.Code39
Code39.BarcodeData = "TRCODE39"
Code39.ImageResize = True
Code39.MeasuringUnit = Terrek.Barcode.MeasuringUnit.PIXEL
'Code 39 inter-space of characters, it is multiple of X
Code39.InterCharGap = 1.0F
' Code 39 proportion of wide bar and narrow bar, ranging from 2.0 to 3.0
Code39.WideVSNarrow = 2.0F
'Show or hide Code 39 start and stop character "*"
Code39.DisplayAsterisk = False
' Code 39 module width and height
Code39.BarWidth = 1
Code39.BarHeight = 40
' Specify Code 39 image
Code39.DotsPerInch = 96
Code39.Rotation = Terrek.Barcode.Rotation.Degree0
Code39.BarcodeFormat = System.Drawing.Imaging.ImageFormat.Png
Code39.SaveAsImage("C:\code39.png")