This member of RFFile Object is supported on Windows Mobile, Windows CE, Palm, and DOS.
The RFStoreFile method saves the data stored in the pszFileData parameter as a DOS file on an RF device.
VB
bStatus = object.RFStoreFile (pszFileName, pszFileData)
VC++
HRESULT hr = object->RFStoreFile(LPCTSTR pszFileName, pszFileData, 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 that the current RFFile object will be saved as on the RF device. You must specify a 3 character file type extension when passing pszFileName. |
pszFileData |
The data to be stored. |
Remarks
The RFFile object uses the standard DOS 8.3 file naming convention.
Do not use an RFFile object to store the other WaveLink objects (menus, tones, and barcodes). Each of these has its own methods for interacting with the RF device.
Example
' VB Sample Code
Dim wlFile As New RFFile
Dim strBuffer As String
.
.
.
strBuffer = "A string representing data to be stored _
on an RF device!"
If wlFile.RFStoreFile ("FLDemo.dat", strBugger) = False Then
GoTo ExitApp
End If
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other