How to Generate Code 128 in VB.NET Application

How to Generate Code 128 Linear Barcode Images in VB.NET Programming
  • Compatible with latest ISO/IEC specification for valid Code 128 image output
  • Support Code 128 barcode creation in ASP.NET, WinForms, Crystal Reports & RDLC Reports
  • Integrate 1D Code 128A, Code 128B & Code 128C barcode generation features into Visual Studio .NET
  • Simple to encode and save Code 128 image into Png, Gif, Jpeg/Jpg, Tiff & Bmp formats
  • Support multiple Code 128 settings including width, height, font, resolution, orientation, etc
  • Make Code 128 resolution customizable to print high-quality images for all printers and scanners
  • Mature and reliable Code 128 encoder control for .NET projects used world widely
VB.NET Code 128 Barcode Generator Overview
KA.Barcode Generator for .NET Suite is a high-quality barcode encoder component SDK for generating and printing Code 128A, Code 128B and Code 128 C barcode images in .NET develpment environments. Furthermore, developers can also modify various properties of the generated Code 128 images, like size, image formats, orientation, resolution and so on with the detailed barcoding VB sample code provided online. Download KA.Barcode for .NET Suite evaluation package for free.
Code 128 Barcode Introduction
Code 128, also named as ANSI/AIM 128, ANSI/AIM Code 128, USS Code 128, Uniform Symbology Specification Code 128, Code 128 Code Set A, Code 128 Code Set B, Code 128 Code Set C, Code 128A, Code 128B & Code 128C, is a self-checking linear barcode which encodes 128 ISO/IEC 646 characters.
Code 128 Encodable Character Set
  • Code 128 A (Code Set A): 0-9, A-Z, and special characters
  • Code 128 B (Code Set B): 0-9, A-Z, a-z, and special characters
  • Code 128 C (Code Set C): numeric digit pairs 00-99
  • Our website provides Code 128Auto function to allow automatic shifting between the above code sets
Code 128 Barcode Generation in ASP.NET Using VB
This VB.NET barcode generator component supports Code 128 and more linear and 2D barcodes generation in ASP.NET. Users who are not familiar with barcode encoding operation may refer to this guide for barcode generation using VB class in ASP.NET.
Code 128 Barcode Generation in .NET WinForms Using VB
VB.NET developers are able to generate Code 128 barcode images in .NET WinForms applications with VB demo code shown below. How to do it? Please find the answer in this tutorial for creating barcodes using VB class in .NET WinForms.
Code 128 Barcode Generation in Crystal Reports Using VB
It is easy to create Code 128 barcode image in Crystal Reports application with this detailed developer guide for VB barcode generation in Crystal Reports. Developers can also generate other linear and 2D barcode images with this VB.NET barcode generator SDK in Crystal Reports based on this tutorial.
Code 128 Barcode Generation in RDLC Reports Using VB
This Barcode Library for Crystal Reports is compatible with Visual Studio 2005 and later versions. Code 128 barcode image generated with this library complies with latest Code 128 barcoding specifications. Here is an article to guide you for VB barcode generation in RDLC Reports.
Code 128 Barcode Generation Using VB.NET Demo Code
Users are allowed to copy the following free demo code to generate Code 128 barcode image in VB.NET application. To apply the demo code, users need to download our free evaluation version of this barcode control and add reference to your barcode project. It is able to change Code 128 parameters in order to get user-defined barcode image.
VB Sample code
     Dim code128 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
code128.Symbology = KeepAutomation.Barcode.Symbology.Code128Auto
code128.CodeToEncode = "0128"

'Apply checksum for Code 128 barcode.
code128.ChecksumEnabled = True
'Display checksum in the Code 128 barcode text
code128.DisplayChecksum = True

'Unit of measure, Pixel, Cm and Inch supported.
code128.BarcodeUnit = KeepAutomation.Barcode.BarcodeUnit.Pixel
'Code 128 image resolution in DPI.
code128.DPI = 72

'Set Size for Generated Code 128 image

'Code 128 bar module width (X dimention)
code128.X = 2
'Code 128 barcode image width (X dimention)
code128.BarCodeWidth = 100
'Code 128 bar module height (Y dimention)
code128.Y = 60

'Image left margin size, a 10X is automatically added according to specification.
code128.LeftMargin = 0
'Image right margin size, a 10X is automatically added according to specification.
code128.RightMargin = 0
'Code 128 image top margin size'
code128.TopMargin = 0
'Code 128 image bottom margin size'
code128.BottomMargin = 0

'Orientation, 90, 180, 270 degrees supported' Code 128 image bottom margin size
code128.Orientation = KeepAutomation.Barcode.Orientation.Degree0
'Code 128 image formats in Png, Gif, Jpeg/Jpg, Tiff, Bmp/Bitmap, etc.
code128.ImageFormat = System.Drawing.Imaging.ImageFormat.Png

'Set Code 128 human readable text style

code128.DisplayText = True
code128.TextFont = New Drawing.Font("Arial", 10.0F, Drawing.FontStyle.Regular)
'Space between barcode and text
code128.TextMargin = 6

code128.generateBarcodeToImageFile("C://code128-vb-net.png")
VB - Web Code 128VB - Windows Code 128VB - Crystal Code 128VB - RDLC Code 128VB - Code 128Using C#Using VB.NETData Matrix for VB.NETPDF417 for VB.NETQR Code for VB.NETmoreCodabar for VB.NETCode 39 for VB.NETEAN-8 for VB.NETEAN-13 for VB.NETEAN 128 for VB.NETIntelligent Mail for VB.NETInterleaved 2 of 5 for VB.NETISBN for VB.NETITF-14 for VB.NETRM4SCC for VB.NETUPC-A for VB.NETUPC-E for VB.NETmore
KeepAutomation provides complete barcode automation solutions for add barcode display 2-dimensional, barcode generation capacity api, and barcode mobile applications. We recommend the customers use high quality ASP.NET html5 document viewer, c# pdf sdk, C# merge PDF files, Split PDF in C#, C# View, edit PDF online , C# Convert PDF to Tiff, C# Convert PDF to text, txt, .net imaging sdk, C# PDF metadata edit from RasterEdge.com.