Showing 24 Result(s)

Code snippets for Visual C++

This article shows 2 simple visual c++ code snippets that use either the standard windows dll or the com object for the toolkit. Standard Windows DLL hBarcode = mtCreateBarcodeInstance() ;   //Set properties mtSetReadCode128 (hBarcode, 1) ; //Read barcodes int nBarCodes = mtScanBarCode(hBarcode, m_ImageFile) ; //Get results for (int i = 1; i <= nBarCodes; …

Code snippets for VB.net

This arcticle shows some simple VB.net code snippets that reference the .net component or com object for the SDK in Visual Studio. .NET Managed Class Library with Visual Studio 2003 ‘Add a reference to SoftekBarcodeLib.dll Dim barcode As SoftekBarcodeLib.BarcodeReader barcode = New SoftekBarcodeLib.BarcodeReader ‘Set properties barcode.ReadCode128 = True ‘Read barcodes nBarCodes = barcode.ScanBarCode(Path) ‘Get results …