We often get emails asking why the ScanBarCode method in the SoftekATL.Barcode OCX object returns the value 0 when it works fine in other interfaces. The reason for this is that in the COM interface the number of barcodes found by the ScanBarCode method is stored in the BarCodeCount property. For example, the following code is …