barcode Visual Basic barcode
barcode visual basic
Price: US$129
barcode download
barcode image

To print barcode in Visual Basic,
you need Barcodesoft true type fonts and cruflbcs.dll .

If you download and install the demo of Barcodesoft software 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 Barcode VB .

crUFLBCS.dll is a COM object with ILinear interface.
You can find the detailed information about ILinear interface from readme.html.

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

Late Binding

Late binding is used when type information of an object is unavailable at compile time.

Your codes using late binding to print Aztec 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.

Here is a code snippet using late binding to print barcode in Visual Basic.
Dim cruflBCSObj As Object
Set cruflBCSObj = CreateObject("cruflBCS.Linear.1")
cruflBCSObj.SetCRLF (1)
Dim retval As String
retval = cruflBCSObj.UCCEAN128(strTemp)

Please apply the appropriate font typeface to returned string "retval". You will see barcode .

Early Binding

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

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

Here is a sample using early binding to print barcode in Visual Basic.

1. Click Project menu, choose "Add Reference..." to load the type information of cruflBCS.dll.
QRCode add reference in vb

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

barcode Visual Basic
Dim obj As cruflBCS.CLinear
Set obj = New cruflBCS.CLiear
barcode = obj.UCCEAN128(strToEncode)
Set obj = Nothing