 
         
         
             Important Update
                        Important Update
                    
                We made thousands of pre-made source code pieces for easy implementation in your own programming projects. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can be applied to decode datamatrix barcode with barcode reader sdk using VB.NET.
This prolific sample source code in VB.NET for ByteScout Premium Suite contains various functions and other necessary options you should do calling the API to decode datamatrix barcode with barcode reader sdk. Just copy and paste the code into your VB.NET application’s code and follow the instructions. Use of ByteScout Premium Suite in VB.NET is also described in the documentation included along with the product.
You can download free trial version of ByteScout Premium Suite from our website with this and 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 System.IO
Imports Bytescout.BarCodeReader
Module Module1
    Sub Main()
        Const imageFile As String = "Datamatrix.png"
        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.DataMatrix = 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(imageFile)
        For Each barcode As FoundBarcode In barcodes
            Console.WriteLine("Found barcode with type '{0}' and value '{1}'", barcode.Type, barcode.Value)
        Next
        ' Cleanup
        reader.Dispose()
        Console.WriteLine("Press any key to exit..")
        Console.ReadKey()
    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: 
