To print Data Matrix from 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 (x86)\Common Files\Barcodesoft\Fontutil\" folder.
If you don't find cruflbcs.dll on your computer, please download it from Data Matrix Visual Bsic..
crUFLBCS.dll is a COM object with IDataMatrix interface.
You can find detailed information about IDataMatrix interface from readme.html.
To call the methods of IDataMatrix interface from Visual Basic, you can use either Late Binding or Early Binding.
Late binding is used when type information of an object is unavailable at compile time.
Early binding requires the client to get access to the type library before compile.