• PDF417 barcode download

Imprimer code à barres PDF417 dans Visual Basic

To print PDF417 barcode in Visual Basic, you need Barcodesoft bcspdf417.ttf true type font and cruflbcs.dll.

If you download and install the demo of Barcodesoft PDF417 software 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 PDF417 Visual Basic.

crUFLBCS.dll is a COM object with IPDF417 interface. You can find the detailed information about IPDF417 interface from user's manual.

To call the methods of IPDF417 interface, you can use either Late Binding or Early Binding.

To call the methods of IPDF417 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.

Late Binding


Your codes to create PDF417 barcode run slower than using Early Binding.

However, your codes are version-independent as long as COM interface and method parameters remain unchanged.

Here is a sample using late binding to print PDF417 barcode in Visual Basic. Open LateBindingSample.frm with Visual Basic from
C:\Program Files\Barcodesoft\pdf417font\ folder.

Dim cruflBCSObj As Object
Set cruflBCSObj = CreateObject("cruflBCS.PDF417.1")
cruflBCSObj.SetCRLF (1)
Dim retval As String
retval = cruflBCSObj.Encode(strTemp)

After apply font BCSPDF417 to returned string "retval", you will get a PDF417 barcode.
Early Binding


Early binding requires the client to get access to the type library before compile.

Your codes using early binding to print PDF417 barcode run faster than using late binding.

Here is a sample using early binding to print PDF417 barcode in Visual Basic. Open Visual Basic EarlyBinding Sample from the following folder
C:\Program Files\Barcodesoft\pdf417font\.

1. Click Project menu, choose "Add Reference..." to load the type information of cruflBCS.dll.

PDF417 Visual Basic add reference

2. Use the following code snippet to print barcode from Visual Basic.

PDF417 barcode Visual Basic type information

Dim obj As cruflBCS.CBCSPDF417
Set obj = New cruflBCS.CBCSPDF417
pdf417 = obj.Encode(strToEncode)
Set obj = Nothing

3. After set font to bcsPDF417, you will get a PDF417 barcode in Visual Basic.

  • PDF417 barcode download