EAN-13 Generation Using VB.NET with Barcode Control SDK

Insert EAN-13 barcode images into .NET application using VB coding
EAN-13 .NET Barcode Control/DLL for VB - Benefits
Easy-to-use Barcode Control
With EAN-13 Barcode Library in VB.NET, users could insert barcode images into .NET applications easily in a reliable manner. This fully integrated barcode designer lets you drag and drop the barcode item from toolbox to Windows Forms.
Support Development Environment
.NET VB.NET Barcode Control lets you easily create and print EAN 13 barcodes images in VB.NET Windows Forms applications, Microsoft Visual Studio, VB.NET Crystal Reports document, VB.NET class & console applications.
Rich Barcode Properties
EAN 13 .NET Control/SDK is equipped 50+ options to customize EAN 13 barcode size, color, text, and other relating properties to achieve desired performance. Checksum could be computed automatically and be displayed or hidden in the human readable text.
Support EAN-13 Special Settings
EAN 13 two/five - digits Add-on could be utilized and shown in barcode symbol form to provides for supplementary information. It should be included on the item just to the right of the main EAN-13 barcode symbol.
Barcodes Supported by VB.NET Barcode Control DLL
Barcode Control for VB.NET Application - EAN-13 Overview
EAN-13 .NET Control SDK lets you add barcoding features easily into Visual Basic .NET applications using Visual Studio 2005, 2008 and 2010. .NET users could create EAN-13 and another 40+ linear & 2D barcodes using VB codes.
EAN-13 Introduction
EAN-13 is a numeric only, continuous barcode symbology in the EAN/UPC Symbology family. EAN-13 encodes total 13 digits of data (including the Check Digit) and is based upon the UPC-A standard.
EAN-13 Encodable Characters
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Input 12 digits is available, checksum digits will calculate automatically by Barcode Generator SDK for .NET
EAN-13 VB.NET Control/DLL - EAN-13 Generation
Implement EAN-13 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
Create EAN-13 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.
Print EAN-13 Barcodes using VB.NET - VB Free Sample Code
'Set barcode type, encode data, resize and UOM properties
barcode.Symbol = Terrek.Barcode.BarcodeSymbol.EAN13
barcode.BarcodeData = "123456789123"
barcode.ImageResize = True
barcode.MeasuringUnit = Terrek.Barcode.MeasuringUnit.PIXEL
'Set encode data, height and space parameters of 2 digit Add-On
barcode.AddOnData = "12"
barcode.AddOnHeight = 0.8F
barcode.AddOnMargin = 7
' EAN-13 module width and height
barcode.BarWidth = 1
barcode.BarHeight = 40
' Customize EAN-13 human-readable character with font, color and margin
barcode.TextStyle = New Font("Arial", 9.0F, FontStyle.Regular)
barcode.TextColor = Color.Black
barcode.TextSpace = 6
' Specify EAN-13 barcode image
barcode.DotsPerInch = 96
barcode.Rotation = Terrek.Barcode.Rotation.Degree0
barcode.BarcodeFormat = System.Drawing.Imaging.ImageFormat.Png