Read Barcode From Live Video Cam (simplified) - VB.NET
BarCode Reader SDK sample in VB.NET demonstrating ‘Read Barcode From Live Video Cam (simplified)’
Program.vb
Imports System.Windows.Forms
NotInheritable Class Program
Private Sub New()
End Sub
''' <summary>
''' The main entry point for the application.
''' </summary>
<MTAThread> _
Friend Shared Sub Main()
Application.EnableVisualStyles()
Application.SetCompatibleTextRenderingDefault(False)
' Show barcode decoder dialog and get decoded barcode value
Dim decodedBarcodeValue As String = WebCamBarcodeDecoder.DecodeBarcode()
If decodedBarcodeValue IsNot Nothing Then
MessageBox.Show("Found barcode: " & decodedBarcodeValue)
Else
MessageBox.Show("Decoding cancelled")
End If
End Sub
End Class
WebCamBarcodeDecoder.Designer.vb
��P a r t i a l C l a s s W e b C a m B a r c o d e D e c o d e r
' ' ' <