Using OpenNetCF via RAPI to copy files.
Hi hi ...
please help,
I am using OpenNetCF with RAPI to copy files to and from the Pocket pc, or at least i am trying to
I am using
m_rapi.CopyFileToDevice("C:\test.txt", "test.txt")
But it does not seem to work at all!?!?1
what do i need to do?
Cheers
Re: Using OpenNetCF via RAPI to copy files.
what are your error msgs...whats happenign????
inside the constructor of the form you need to create the instance of rapi and activesyc
VB Code:
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
Try
m_rapi = New RAPI
m_activesync = m_rapi.ActiveSync
Catch ex As RAPIException
m_rapi = Nothing
MsgBox(ex.Message)
Catch ex As DllNotFoundException
m_rapi = Nothing
MsgBox(ex.Message)
End Try
End Sub
is this missing??
now you should be able to use m_rapi.copytodevice()
Re: Using OpenNetCF via RAPI to copy files.
Hey!
it works,,,
i was add to your reputation, but the system does not allow me to add any more yet..
Cheers a million!