Link Search Menu Expand Document

Getting Started in ASP Classic (as ActiveX)

The following sample demonstrates how to read barcodes from image in ASP classic using Bytescout BarCode Reader SDK

VB
<%
Set bc = Server.CreateObject("Bytescout.BarCodeReader.Reader")
bc.BarcodeTypesToFind.Code39 = True

bc.ReadFromFile Server.MapPath("BarcodePhoto.jpg")

For i = 0 To bc.FoundCount - 1
     Response.Write "Found barcode on page #" & CStr(bc.GetFoundBarcodePage(i)) & " with type " & Cstr(bc.GetFoundBarcodeType(i)) & " and value " & bc.GetFoundBarcodeValue(i)
Next

Set bc = Nothing
%>