DeviceFileExists
Previous
Next
Checks whether a specific file exists on the device.
Syntax: DeviceFileExists (file As String) As Boolean
Example:
Sub
App_Start
Form1.Show
rapi.New1
rapi.Connect
End Sub
Sub
rapi_Connected
if
rapi.DeviceFileExists("\My Documents\MyApp.exe") = true
then
rapi.CopyFileToDevice1(
AppPath
& "\data.dat","\My Documents")
rapi.DeviceShell("MyApp.exe","")
end if
End Sub