Please apply font typeface BCSQRCode to returned string "retval". You will see QR Code barcode.
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
1. Click Project menu, choose "Add Reference..." to load the type information of cruflBCS.dll.
2. Use the following code snippet to print barcode from 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.