To print data matrix barcode in Visual Basic,
you need Barcodesoft BCSDatamatrix.ttf true type font and cruflbcs.dll .
If you download and install the demo of Barcodesoft Data Matrix font on your
computer, you will find crUFLBCS.dll from
"C:\Program Files\Common Files\Barcodesoft\Fontutil\" folder.
If you don't find cruflbcs.dll on your computer, please download it from Data Matrix Barcode VB .
crUFLBCS.dll is a COM object with IDataMatrix interface.
You can find the detailed information about IDataMatrix interface from readme.html.
To call the methods of IDataMatrix interface, you can use either Late Binding or Early Binding.
Late binding is used when type information of an object is unavailable at compile time.
Your codes using late binding to print data matrix barcode in Visual Basic run slower than using early binding.
However, your codes are version-independent as long as COM interface and method parameters remain unchanged.
You can find the sample using late binding to print Data Matrix barcode
in Visual Basic from this folder
C:\Program Files\Barcodesoft\datamatrixfont\ .