KA.Barcode for .NET WinForms
EAN 13 Generator in VB.NET Crystal Reports for WinForms
Generate, print EAN 13 barcodes in Crystal Reports for Winforms using Visual Basic.NET (VB.NET)
Overview
EAN 13 generator for Crystal Reports for Winforms is one function for barcode generator for Crystal Reports, which is a professional and flexible barcode component used for generationg EAN 13 barcodes in Crystal Reports. Developed in C#, VB.NET, Managed C++ and Borland Delphi for .NET, EAN 13 generator for Crystal Reports for Winforms is easy to render high-quality EAN 13, EAN 13+2 and EAN 13+5 barcodes with customized properties in your Crystal Reports for Winforms.

This document uses a 100% VB.NET source code of EAN 13 generator for Crystal Report for Winforms for providing an complete guide to generate EAN 13, EAN 13+2 and EAN 13+5 barcodes in your Crystal Reports for Winforms.

KeepAutomation.com provides other EAN 13 barcode generation component, like EAN 13 in Winforms, EAN 13 in ASP.NET, EAN 13 in C#, EAN 13 in VB.NET, EAN 13 for Word, EAN 13 for Excel and EAN 13 Barcode Font, etc.
You may get more details of generating EAN 13 for Crystal Report on different platforms:
EAN 13 Information
Valid Character Set
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
ean13

More Information on EAN 13 Data Encoding
EAN 13 Generation in Crystal Reports Using VB.NET

Setup Process

  • You will find "BarcodeDemoData.mdb", "CustomerDataSet.xsd", "guide", "KeepAutomation.Barcode.Windows.dll"in the folder

  • BarcodeDemoData.mdb: a table "Customer" with 3 column inside: "ID", "CustomerId", "CustomerName"

  • CustomerDataSet.xsd: defines columns in Customer table and an extra column called "Barcode"

  • Guide: a developer guide for generating barcodes in Crystal Reports for .NET Winforms

  • KeepAutomation.Barcode.Windows.dll: a Winforms dll for creating barcodes in Crystal Reports for .NET Winforms
2. Run Microsoft Visual Studio, Create new Crystal Reports Application project template named as "CrystalReportsBarcode"

3. In "Crystal Reports Gallery window"form, select "Using the Report Wizard" and "Standard"Expert type

4. Choose "ADO.NET ( XML)" in "Create New Connection" when the Wizard ask to choose the data source for the report

5. Then select the "CustomerDataSet.xsd" in your downloaded sample dataset package.

6. Add table "Customer" in "Data"form
7. In "Fields" form, add all three columns in the table "Customer".

8. In CrystalReport1.rpt, open "Field Explorer" and add table "Barcode" in "Database Field"onto Section 3 (Details)

9. In your .NET project solution explorer, add "KeepAutomation.Barcode.Windows.dll" to your project reference.

Generating EAN 13 in Crystal Reports for Winforms Using VB.NET

Select Form1 and switch to Design mode for the form. Write down your VB.NET code crystalReportViewer1_Load. Then run the report, EAN 13 barcodes occurs on the report. Here is a VB.NET sample code: