On this page you will learn from code samples for programming in VB.NET.Writing of the code to decode damaged qr code barcode with barcode reader sdk in VB.NET can be executed by programmers of any level using ByteScout Premium Suite. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can be applied to decode damaged qr code barcode with barcode reader sdk using VB.NET.
The following code snippet for ByteScout Premium Suite works best when you need to quickly decode damaged qr code barcode with barcode reader sdk in your VB.NET application. This VB.NET sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Further improvement of the code will make it more robust.
If you want to try other source code samples then the free trial version of ByteScout Premium Suite is available for download from our website. Just try other source code samples for VB.NET.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
Imports Bytescout.BarCodeReader
Module Program
Sub Main()
Try
'Read Barcode Process
Dim reader As Reader = New Reader()
reader.RegistrationKey = "demo"
reader.RegistrationName = "demo"
' Set Barcode type to find
reader.BarcodeTypesToFind.QRCode = True
' -----------------------------------------------------------------------
' NOTE: We can read barcodes from specific page to increase performance .
' For sample please refer to "Decoding barcodes from PDF by pages" program.
' -----------------------------------------------------------------------
' Read barcodes
Dim barcodes() As FoundBarcode = reader.ReadFrom("corrupted_barcode_qrcode.png")
For Each code As FoundBarcode In barcodes
Console.WriteLine("Found barcode with type '{0}' and value '{1}'", code.Type, code.Value)
Next
Catch ex As Exception
Console.WriteLine(ex.Message)
End Try
Console.WriteLine("Press any key to exit...")
Console.ReadLine()
End Sub
End Module
60 Day Free Trial or Visit ByteScout Premium Suite Home Page
Explore ByteScout Premium Suite Documentation
Explore Samples
Sign Up for ByteScout Premium Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Premium Suite Home Page
Explore ByteScout Premium Suite Documentation
Explore Samples
Sign Up for ByteScout Premium Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: