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

Softek Barcode Reading SDK - VB6

The Softek Barcode Reading Toolkit extracts barcode information from image files and memory bitmaps. This page show how you can use the software in Visual Basic 6.

Use the following links to view code snippets for the 3 different interfaces commonly used from Visual Basic 6...

Use the following download links to get your development started...

Download windows toolkit

Windows Toolkit 30 day evaluation

Download sample vbnet project

VB6 sample project

ActiveX/OCX Interface

'Add SoftekBarcode ActiveX Control module by selecting Components from the Projects
'menu

'Set properties
SoftekBarcode1.ReadCode128 = True

'Read barcodes
nBarCodes = SoftekBarcode1.ScanBarCode(Path)

'Get results
For i = 1 To nBarCodes
      strBarcode = SoftekBarcode1.GetBarString(i)

back to top

Standard Windows DLL

'See the example project for the function definitions for the SoftekBarcode dll file.
'Set properties
stSetReadCode128(True)

'Read barcodes
nBarCodes = stScanBarCode(Path)

'Get results
For i = 1 to nBarCodes
      strBarcode = stGetBarStringType(i)

back to top

COM Object

Dim i As Variant

'Create the Barcode object
Set oBarcode = CreateObject("SoftekATL.Barcode")

'Set properties
oBarcode.ReadCode128 = True

'Read barcodes
oBarcode.ScanBarCode(Path)
nBarCodes = oBarcode.BarCodeCount

'Get results
For i = 1 to nBarCodes
      strBarcode = oBarcode.barstring(i)

back to top