bardecode.com
barcode reading software
  • Home
  • Download
  • Purchase
  • SDK Licensing
  • Pricing
    • Windows SDK Price List
    • Windows SDK with PDF Extension Price List
    • Linux SDK Price List
    • Linux SDK with PDF Extension Price List
    • PDF Extension For Windows Price List
    • Multi-Platform Toolkit for .NET Price List
    • BardecodeFiler Desktop Only Price List
    • BardecodeFiler Windows Service Price List
    • DOS Command Prompt Barcode Tool Price List
    • Terms and Conditions
    • Refund Policy
  • Products
    • Softek Barcode Reader Toolkit for Windows
    • Softek Barcode Reader Toolkit for Linux
    • BardecodeFiler Desktop App
    • BardecodeFiler Windows Service
    • Windows DOS Command Prompt Tool
    • Multi-platform barcode reader toolkit for .NET
    • Aquaforest’s Autobahn DX
  • Knowledge Base
    • Documentation
    • Specifications
  • News
  • Contact
    • About Us
    • Terms and Conditions
    • Resellers
    • Links
Select Page ...

News

VB6 Code snippets

admin November 23, 2012 Knowledge Base, Software Development Kits No Comments

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

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)

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)

← Using the SDK with Borland Delphi
Splitting TIF files by barcode position →
admin

  • Copyright © 2023 Softek Software Ltd. All Rights Reserved