Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET Barcode > VB.NET Barcode Generation Guide > VB.NET EAN-8 Barcode Generation Component
Download Barcode for .NET Suite Trial

VB.NET EAN 8 Barcode Generation Component

Guidance for how to generate EAN-8 barcode in VB.NET Class
  • Professional EAN-8 barcode library with perfect compatibility with .NET 2.0 and above
  • Generate EAN-8 barcodes in Crystal Reports and RDLC Reports with VB.NET programming
  • Generate readable EAN-8 barcode and output it to gif, png, jpeg and bmp files
  • Create EAN-8 barcode by adjusting settings in VS Properties Window or with VB class codes
  • Support other common linear & 2D barcode types, like UPC-E and Data Matrix
  • Provide royalty-free developer licenses for creating EAN-8 in VB.NET projects for commercial use
Brief Summary of VB.NET Linear EAN-8 Barcode Type
EAN 8, a commonly-used numeric barcode symbology, can encode 7 digit data and 1 check digit. The first 2 or 3 digits are country code. It is mainly printed on some small items where the printing space is not enough for EAN 13 barcode.
All EAN-8 barcode images generated by our barcode generator SDK absolutely conform to International standards, as this barcode generator SDK is built under direct guidance of GS1 General Specification.
Use EAN-8 Barcoding DLL to Generate EAN 8 in VB.NET Library
  1. Right click "Add Reference..." in the Solution Explorer and add Barcodelib.Barcode.ASP.NET.dll or Barcodelib.Barcode.WinForms.dll to your project.
  2. Right click "Choose Item..." in Toolbox and add Barcodelib.Barcode.ASP.NET.dll or Barcodelib.Barcode.WinForms.dll to the Toolbox.
  3. With following sample VB codes, you could successfully generate a high-quality EAN 8 barcode.
     Dim ean_8 As New BarcodeLib.Barcode.Linear()
ean_8.Type = BarcodeType.EAN8
ean_8.Data = "1234567"

ean_8.BarColor = System.Drawing.Color.Blue
ean_8.BarWidth = 1
ean_8.LeftMargin = 10
ean_8.RightMargin = 10

' You could also adjust other settings of EAN 8, like image format, font, background color etc.

' Save barcode image into your system

' Encode EAN-8 barcode & output to byte array
byte[] barcodeInBytes = ean_8.drawBarcodeAsBytes()

' Draw EAN-8 barcode to Graphics object
Graphics graphics = ...

' Generate EAN-8 barcode and output to HttpResponse object
HttpResponse response = ...

' Output created EAN-8 barcode to Stream object
Stream stream = ...
Those Free EAN-8 sample codes are written in Visual VB 2005
Use EAN-8 Barcoding DLL to Generate EAN 8 in VB ASP.NET Website
  1. Embed Barcodelib.Barcode.ASP.NET.dll to your web project.
  2. Integrate Barcodelib.Barcode.ASP.NET.dll to your Toolbox.
  3. Copy files " linear.aspx " & " linear.aspx.cs " from the folder "barcode" in the trial package to your web program folder.
  4. Drag LinearASPNET from the Toolbox to the split part of your aspx page. Then a Code 128 barcode image will appear.
  5. Click the produced barcode image and adjust barcode type to EAN-8 in the Properties Window or generate an EAN 8 barcode with above VB sample code for EAN-8 generation.
Use EAN-8 Barcoding DLL to Generate EAN 8 in VB WinForms .NET Projects
  1. Embed BarcodeLib.Barcode.WinForms.dll in your project.
  2. Integrate BarcodeLib.Barcode.WinForms.dll into your Toolbox.
  3. Drag LinearWinForm from the Toolbox and drop it on your windows forms project.
  4. Click the produced barcode image and adjust barcode type to EAN-8 in the Properties Window or generate an EAN 8 barcode with above VB demo code for EAN-8 generation.
Barcodes Supported by EAN-8 VB.NET Barcoding Component
VB.NET Linear Barcodes:
VB.NET Matrix Barcodes:
Supported Linear Barcode Images: Codabar, Code 11, Code 2 of 5, Code 39, Code 93, Code 128, EAN 8, EAN 13, EAN 128, Interleaved 2 of 5, ITF14 (UPC Shipping Container Symbol), MSI Plessey, OneCode, Planet, Postnet, RM4SCC (British Royal Mail 4-State Customer Barcode), UPC-A, UPC-E.
Supported 2D Barcode Images: Data Matrix, PDF417, QR Code.

Provides High Quality .NET Barcode Control, ASP.NET Barcode Control, C# Barcode Control, VB.NET Barcode Control, WinForms Barcode Control, C#.NET EAN 8 Control, VB.NET EAN 8 Control, EAN 8 .NET Control, EAN 8 ASP.NET Control, EAN 8 .NET WinForms Control, .NET SSRS, Crystal Reports, and RDLC EAN 8 Barcode Generator Controls.