support
qrcode visual basic QR Code Barcode Visual Basic
qrcode visual basic
Price: US$199
QRCode barcode Access database download QRCode barcode image QRCode barcode Access database order

Print QR Code In Visual Basic


To print QRCode from Visual Basic,
you need Barcodesoft BCSQRcode.ttf true type font and cruflbcs.dll .

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

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

To call the methods of IQRCode 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 QR Code 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 sample using late binding to print QRCode barcode in Visual Basic.
Open Visual Basic LateBinding Sample from this folder
C:\Program Files (x86)\Barcodesoft\qrcodefont\.

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

Please apply font typeface BCSQRCode to returned string "retval". You will see QR Code barcode.




Early Binding



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

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

Here is a sample using early binding to print QRCode barcode in Visual Basic.
Open Visual Basic EarlyBinding Sample from the following folder
C:\Program Files (x86)\Barcodesoft\qrcodefont\.

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.

QRCode Visual Basic
Dim obj As cruflBCS.CBCSQRCode
Set obj = New cruflBCS.CBCSQRCode
cruflBCSObj.ECLevel = 2
qrcode = obj.Encode(strToEncode)
Set obj = Nothing
For more information about QR Code, please click QRCode.