KA.Barcode for ASP.NET
Code 128 Generator for Crystal Reports ASP.NET in VB.NET
Print Code 128 barcode image with VB.NET in ASP.NET Crystal Reports
Overview
Code 128 barcode generator for Crystal Reports for ASP.NET is a ASP.NET barcode component, compliant with the .NET 2.0, 3.0, 3.5 & 4.0. Streaming Code 128 barcodes in Crystal Reports - a business intelligence application used to design and generate reports from a wide range of data sources, Code 128 barcode generator for Crystal Reports for ASP.NET provides a set of options to customize Code 128 barcodes size, color, text, image to suit your needs.

This document explains how to stream Code 128 barcodes in Crystal Reports with ASP.NET Barcode generating dll by using programming language - Visual Basic.NET (VB.NET), which is an object-oriented computer programming language. It provides 100% sample code and strong assemblies for VB.NET 2005.

KeepAutomation.com provides other Code 128 barcode generation component, like Code 128 in Winforms, Code 128 in ASP.NET, Code 128 in C#, Code 128 in VB.NET, Code 128 for Iphone, Code 128 for Android and Code 128 in Java, etc.

In addition, KeepAutomation provides tutorials with demo code to print Code 128 in Crystal Reports with C#.NET, VB.NET.

How to generate Code 128 images in Crystal Reports in ASP.NET with C#.NET programming

How to print Code 128 images in Crystal Reports in Winforms with C#.NET programming

How to draw Code 128 images in Crystal Reports in Winforms with VB.NET programming

Barcode Information

Barcode

Code 128

Code 128 image

Valid Character Set

  • ASCII valid value: 0-127

  • ASCII valid value: 128-255

Code 128 Generation in Crystal Reports Using VB.NET
KeepAutomation.com provides a complete developer guide for steaming Code 128 barcodes in Crystal Reports with ASP.NET Barcode Generator buildin Server web application using programming language - Visual Basic.NET (VB.NET).

Download Crystal Reports for ASP.NET barcode generator.zip and unzip
  • You will find "BarcodeDemoData.mdb", "CustomerDataSet.xsd", "guide", "KeepAutomation.Barcode.Web.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

  • KeepAutomation.Barcode.Web.dll: an ASP.NET dll for creating barcodes in Crystal Reports for ASP.NET

Setup Process

  1. Open Microsoft Visual Studio, and create a new .NET project named "crbarcodes" using the template "Crystal Reports Application""

  2. Create a new Crystal Report Document "Using the Report Wizard", and choose "Standard" as an expert

  3. In "Data" form, choose "ADO.NET (XML)" in "Create New Connection"; then select the "CustomerDataSet.xsd" in your downloaded sample dataset package

  4. Add table "Customer" in "Data" form

  5. In "Fields" form, add all three columns in the table "Customer"

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

  7. In your .NET project solution explorer, add "KeepAutomation.Barcode.Web.dll" to your project reference

Generating Code 128 in Crystal Reports for ASP.NET Using VB.NET

Open your Form1.cs in Design view and enter it. Write down your VB.NET code into the method Form1_Load. Then run the report, Code 128 barcodes occurs on the report. Here is a VB.NET sample code: