> the copyfile function transfers a file from desktop to mobile does a copy among pda's directories?
Methods CopyFile and MoveFile operate strictly with files on PDA. For example, in oFiles.CopyFile(cSource, cTarget) both cSource and cTarget are files on PDA device.
To transfer files between PDA and desktop use FileToString and StringToFile methods of Tfiles class.
FUNCTION FileToString(cSourceFile) As String
...
RETURN cResult
FUNCTION StringToFile(cBuffer, cTargetFile, nFlag) As Number
...
RETURN m.nBytesWritten