The sample source codes on this page shows how to read barcode from image with barcode reader sdk in ASP Classic. ByteScout Barcode Suite is the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK). It can be applied to read barcode from image with barcode reader sdk using ASP Classic.
Want to quickly learn? This fast application programming interfaces of ByteScout Barcode Suite for ASP Classic plus the guidelines and the code below will help you quickly learn how to read barcode from image with barcode reader sdk. Just copy and paste the code into your ASP Classic application’s code and follow the instructions. Enjoy writing a code with ready-to-use sample ASP Classic codes.
Our website gives trial version of ByteScout Barcode Suite for free. It also includes documentation and source code samples.
<% ' In case of "Server.CreateObject Failed", "Server object error "ASP 0177 : 8000ffff" or similar errors: ' Please try the following: ' - Open IIS ' - Find application pools (DefaultAppPool is used by default) ' - Open its properties and check .NET CLR version selected: ' - if you have .NET 1.1 then change to .NET CLR 2.00 ' - if you have .NET CLR 2.00 then try to change to .NET CLR 4.0 Set bc = Server.CreateObject("Bytescout.BarCodeReader.Reader") ' Limit search to 1D barcodes only (exclude 2D barcodes to speed up the search). ' Change to bc.BarcodeTypesToFind.SetAll() to scan for all supported 1D and 2D barcodes ' or select specific type, e.g. bc.BarcodeTypesToFind.PDF417 = True bc.BarcodeTypesToFind.SetAll1D() 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 %>