PushBarcode Method

This member of RFBarcode Object is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.

The PushBarcode method stores the RF device’s default barcode configuration to a file for later restoration.

VB

bStatus = object.PushBarcode (pszFileName)

VC++

HRESULT hr = object->PushBarcode(LPCTSTR pszFileName, BOOL *bStatus);

Return Value

bStatus

The status of the function returned as Boolean True or False values. Use the RFGetLastError method to return the error value.

Parameters

pszFileName

The file name for the RF device’s default barcode configuration.

Remarks

Use the PullBarcode Method to restore a previously saved barcode file while removing the file from the RF device’s memory. When used in conjunction, PushBarcode and PullBarcode allow you to temporarily change the settings of an RF device and return the device to its original settings for easy clean up.

Example

' VB Sample Code
Dim wlBCode As New RFBarcode
.
.
.
bStatus = wlBCode.PushBarcode("Defltbar")
' create, store, and use barcode configurations in the app
.
.
.
' use PullBarcode to restore the default barcode at
' cleanup
bStatus = wlBCode.PullBarcode ("Defltbar")

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal