Softek Software Barcode Reading Toolkits
HOME PRODUCTS DEVELOPERS STORE ABOUT US
Developer Home
Downloads
Sample Code
Support

Sample Code

The Softek Barcode reading toolkit extracts barcode information from images.

You can add barcode recognition to your application with only a few lines of code. No knowledge of images is necessary to integrate the toolkit into your application...

The following VB 6 code will extract barcode information from an image file:

Set oBar = CreateObject("SoftekATL.Barcode")
oBar.ScanBarCode (filePath)
nBarCount = oBar.BarCodeCount
For i = 1 To n
   MsgBox(oBar.barstring(i))
Next i

more code snippets...

View list of projects available for download

View list of projects available for download

The above example uses the COM interface with VB6, but you can also use the OCX, DLL or the .Net Class Library. We've a whole library of ready made projects that show you how to use the barcode toolkit.

Linux, OSX and Solaris

The Linux/OSX/Solaris version of the toolkit is just as easy to use. Most people prefer to use the bardecode shell tool, which can be quickly integrated into applications...

# Read any type of barcode from the file /tmp/file.tif and write the results to stdout
bardecode -t any -f /tmp/file.tif

more information

Note that the trial download does not display the last 3 characters of a barcode. If you would like a 30 day trial of the full version then please contact sales@bardecode.com.

The download includes the source code to the bardecode command and demonstrates how to call the bardecode library from a 'C' program.