RFBARCODE.StoreBarcode

boolean StoreBarcode(BSTR pszBarcodeName, short nDefault)

Function StoreBarcode(pszBarcodeName As String, nDefault As Integer) As Boolean

Sends the local configuration array to a file in the WS Client.

Return value
True= the function was successful, false=error, check with RFGetLastError().

Parameters

pszBarcodeName
    The name of the barcode file (up to 8 characters).

nDefault
    BCDISABLED=all other barcodes are disabled, BCENABLED=all other barcodes are enabled.

Remarks
The name must contain legal characters for MS-DOS filenames. Do not include dots (.) and other special characters (* , $ \ : etc).
The configuration of the scanner is done by a PullBarcode() command or by setting the file name in the in the RFIO.RFInput() command.

Example
wsRfBarcode.ClearBarcodes ' Clear all barcodes
wsRfBarcode.AddBarcode UPC_E0, False,
DECODEON, 6, 6
wsRfBarcode.AddBarcode UPC_E1, False,
DECODEON, 10, 10
wsRfBarcode.AddBarcode UPC_A, False,
DECODEON, 12, 12
wsRfBarcode.AddBarcode EAN_8, False,
DECODEON, 8, 8
wsRfBarcode.AddBarcode EAN_13, False,
DECODEON, 13, 13
wsRfBarcode.AddBarcode CODABAR, False,
DECODEON, 2, 12
wsRfBarcode.AddBarcode CODE_39, False,
DECODEON, 1, 32
wsRfBarcode.AddBarcode CODE_I25, False,
DECODEON, 2, 14
wsRfBarcode.AddBarcode CODE_93, False,
DECODEON, 2, 14
wsRfBarcode.AddBarcode CODE_128, False,
DECODEON, 1, 32
wsRfBarcode.StoreBarcode "Demo", BCDISABLED

See also    RFBARCODE, AddBarcode, PushBarcode, GetBarcodeFile, RFInput