RFBARCODE.DeleteBarcodeFile

boolean DeleteBarcodeFile(BSTR pszBarcodeName)

Function DeleteBarcodeFile(pszBarcodeName As String) As Boolean

Deletes an existing barcode configuration file stored in the client.

Return value
True=the function was successful, False=error, file not found, RF link lost.

Parameters

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

Remarks
The name must contain legal characters for MS-DOS filenames. Do not include dots (.) and other special characters (* , $ \ : etc).

Example
wsRfBarcode.PushBarcode "_Old" ' Save present configuration
wsRfBarcode.ClearBarcodes ' Clear all barcodes in local (PC application) array
wsRfBarcode.AddBarcode CODE_128, False, DECODEON, 1, 32 ' Reads Code 128 Only
wsRfBarcode.StoreBarcode "Only128", BCDISABLED   ' Send the array to the terminal
wsRfBarcode.PullBarcode "Only128"                ' Sets the scanner configuration
' Do here some input ...
wsRfBarcode.PullBarcode "_Old" ' Restore the previous configuration
wsRfBarcode.DeleteBarcodeFile "Only128" ' Clean unused file

See also    RFBARCODE, StoreBarcode, GetBarcodeFile, PushBarcode, PullBarcode