Require a VB sample project

I need to recognize a QR code with the following source code:

Imports Saaspose.O​CR Imports System.Web​ Imports System.Dra​wing Saaspose.C​ommon.Prod​uct.BasePr​oductUri = “saaspose.com - saaspose Resources and Information.” Saaspose.C​ommon.Saas​poseApp.Ap​pSID = “78xxxxxxx​xxxxx” Saaspose.C​ommon.Saas​poseApp.Ap​pKey = “88xxxxxxx​xxxx” Dim filePath As String = “c:\temp\M​yImage.png​” Dim Symbology As String = “QR” ’ Create an instance of BarCodeRea​der class Dim localReade​r As New BarCodeRea​der() ’ Call ReadFromLo​calImage()​ method to upload the image and perform barcode recognitio​n ’ The here is the list of recognized​ barcodes Dim barcodes As List(Of RecognizedBarCod​e) = localReader.Rea​dFromLocal​Image(file​Path, “”, DirectCast​([Enum].Pa​rse(GetTyp​e(BarCodeR​eadType), Symbology,​ True), BarCodeReadT​ype)) ’ Display the value and type of all the recognized​ barcodes For Each barcode As Recognized​BarCode In barcodes Console.Wr​iteLine("C​odetext: " + barcode.Ba​rCodeValue​ + vbLf & "Symbology​: " + barcode.Ba​rCodeType)​ Next

It is not working for me.


Submitted from: http://saaspose.com/

Hi Raj,

Thanks for your inquiry and sorry for the delayed response. I've attached a sample VB project for your reference. You just need to set appropriate AppSID, AppKey, bar code symbology and local file path. Please find the API page here:
http://saaspose.com/docs/display/barcode/Recognize+operation

Please let us know in case of further assistance and comments.

Support Developer, Saaspose
Support Team
http://www.saaspose.com

Hi Raj,

Please find the attachment here.

Regards,
Imran Rafique

Support Developer, Saaspose
Support Team
http://www.saaspose.com