Data Matrix for VB.NET
Barcode .NET > Barcode in VB.NET > 2D > Data Matrix

Data Matrix Overview

Data Matrix(a.k.a. Data Matrix ECC200) is a two-dimensional matrix barcode consisting of black and white "cells" or modules arranged in either a square or rectangular pattern. The information to be encoded can be text or raw data. Usual data size is from a few bytes up to 2 kilobytes. The length of the encoded data depends on the symbol dimension used. Error correction codes are added to increase symbol strength: even if they are partially damaged, they can still be read. A Data Matrix symbol can store up to 2,335 alphanumeric characters.

Encodable Character

  • All 128 characters of ASCII
  • Values 128-255 in accordance with ISO 8859-1. There are referred to as extended ASCII

VB.NET 2D Data Matrix Barcode Setting Quick Links

Data Matrix Generator in VB.NET - FAQ

1. How to generate Data Matrix bar code image using Data Matrix Generator in VB.NET in VB.NET Class?

       using BusinessRefinery.Barcode;

       DataMatrix barcode = new DataMatrix();
       barcode.Code = "9876543210";
       barcode.drawBarcode("C://data-matrix-in-vbnet.gif");

2. How to stream Data Matrix to image files?

       using BusinessRefinery.Barcode;

       DataMatrix barcode = new DataMatrix();
       barcode.Code = "9876543210";
       barcode.drawBarcode("C://data-matrix-in-vbnet.png");
You can also create QR Code to GIF, JPEG, & BMP image formats besides PNG


3. How to install Data Matrix Generator in VB.NET Windows Control Library?

  1. Add BusinessRefinery.Barcode.WinForms.dll to your .NET Windows Application project reference
  2. Add .NET Barcode Generator .NET Windows Control Library to .NET Visual Studio Toolbox

4. How to install Data Matrix Generator in VB.NET Web Control Library?

  1. Add BusinessRefinery.Barcode.ASPNET.dll to your ASP.NET project reference
  2. Add ASP.NET Barcode Generator ASP.NET Web Control Library to .NET Visual Studio Toolbox

5. How to generate Data Matrix in ASP.NET Web Application using .NET Barcode Generator Streaming Functions?

  1. Copy the folder barcode under evaluation package with contents to your IIS web server
  2. Create a new virtual directory named "barcode"in your IIS web server.
  3. Restart IIS web server, open your web browser and navigate to http://project-url/barcode/DataMatrix.aspx?code=0123456789
  4. To create QR Code image to your html or aspx pages, you can insert an image tag (img) into your web page.
    For example, <img src="ttp://project-url/barcode/DataMatrix.aspx?code=0123456789" />
Data Matrix Generator Component for .NET Framework


BusinessRefinery provides 3 mature .NET Barcode Generation Components to generate Data Matrix in VB.NET projects:

.NET Barcode for ASP.NET - enable barcode generation in VB class, VB console applications, and VB ASP.NET web projects.

.NET Barcode for Windows Forms - enable barcode generation in VB class, VB console applications, and VB.NET Windows applications.

.NET Barcode Ultimate - integrates all features in the above two controls.

More Barcodes




Quick Links