The documentation is crafted to assist you to apply the features on your side easily. Interrupt barcode processing with barcode reader sdk in VB.NET can be applied with ByteScout Premium Suite. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.
The below SDK samples describe how to quickly make your application do interrupt barcode processing with barcode reader sdk in VB.NET with the help of ByteScout Premium Suite. Just copy and paste this VB.NET sample code to your VB.NET application’s code editor, add a reference to ByteScout Premium Suite (if you haven’t added yet) and you are ready to go! VB.NET application implementation mostly involves various stages of the software development so even if the functionality works please check it with your data and the production environment.
If you want to try other samples for VB.NET then free trial version of ByteScout Premium Suite is available on our website.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
Imports System.IO
Imports Bytescout.BarCodeReader
Module Module1
Sub Main()
Const imageFile As String = "1d_barcodes.pdf"
Console.WriteLine("Reading barcode(s) from image {0}", Path.GetFullPath(imageFile))
Dim reader As New Reader()
reader.RegistrationName = "demo"
reader.RegistrationKey = "demo"
' Set barcode type to find
reader.BarcodeTypesToFind.All1D = True
AddHandler reader.BarcodeFound, AddressOf Reader_BarcodeFound
' -----------------------------------------------------------------------
' 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
reader.ReadFrom(imageFile)
' Cleanup
reader.Dispose()
Console.WriteLine("Press any key to exit..")
Console.ReadKey()
End Sub
Private Sub Reader_BarcodeFound(ByVal sender As Object, ByVal e As BarcodeFoundEventArgs)
Console.WriteLine("Found barcode with type '{0}' and value '{1}'", e.Barcode.Type, e.Barcode.Value)
If e.Count = 5 Then
' Cancel after 5 barcodes found
e.Cancel = True
Console.WriteLine("Cancelled.")
End If
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: