VB.NET Identcode Generator Data Encoding Tutorial

sample source code to input valid data and generate linear Identcode images in VB.NET


 

Setup Identcode VB.NET Generator

Identcode, also known as German Postal 2 of 5 Identcode, Deutsche Post Identcode Barcode, is a 14-digit bar code of the postal carrier cooperation with information about the recipient.

OnBarcode.com provides more details about how to set Identcode barcode size and image in Barcode Generator Control on VB.NET:


Identcode VB.NET Generator installation

1. Download the trial package and unzip

2. Copy OnBarcode.Barcode.WinForms.dll to your .NET project folder

3. Do not copy dll to .NET bin directory, .NET build tools will do it for you.

4. Add OnBarcode.Barcode.WinForms.dll to .NET project reference

5. Right click .NET Visual Studio Toolbox, select menu Choose Items...

6. In "Choose Toolbox Items" form, click button "Browse...", and select OnBarcode.Barcode.WinForms.dll

7. After selection, you will find four items under "Components" section: LinearWinForm, DataMatrixWinForm, PDF417WinForm, and QRCodeWinForm

After, get it ready in VB.NET by placing the following statement where Identcode VB.NET Generator is needed:

Dim identcode As OnBarcode.Barcode.Linear

identcode = New OnBarcode.Barcode.Linear

identcode.Type = OnBarcode.Barcode.BarcodeType.IDENTCODE

 

Select Data for Identcode VB.NET Generator

There are three code sets of Identcode. They are code set A, code set B, and code set C. Identcode in different code set encodes different types of data character.

Generate Identcode with Numeric Character

Identcode is capable of encoding number 0 to 9.

Sample Usage:

Dim identcode As OnBarcode.Barcode.Linear = New OnBarcode.Barcode.Linear

identcode.Type = OnBarcode.Barcode.BarcodeType.IDENTCODE

identcode.Data = "12345678901"

 

Valid length for Data in Identcode VB.NET Generator

Identcode Data Length

Identcode is fixed length symbology, which encodes data in 12 digits. The last digit of them is the prerequisite check digit.

Data Length in Identcode VB.NET Generator

Identcode VB.NET Generator will automatically generate and calculate the check digit in Identcode basing on the string value you give to property Data. That is to say, using Identcode VB.NET Generator, you only have to place 11 digits of numeric characters in the string value of Data.

Sample Usage:

Dim identcode As OnBarcode.Barcode.Linear = New OnBarcode.Barcode.Linear

identcode.Type = OnBarcode.Barcode.BarcodeType.IDENTCODE

identcode.Data = "12345678901"









OnBarcode is a market-leading provider of barcode generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides high quality tutorials and guides for various linear, 2d barcode information, such as C# Barcode, QR Code C#, QR Code VB.NET, QR Code ASP.NET, QR Code .NET, ASP.NET Barcode. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.