How can I access the My Documents on a Mobile Device?

Hi,

Has anyone got some code so i can access a file from the My Documents of a windows mobile device from a normal Windows Computer? There is no drive letter associated with the device so wondering how I can get to it?

Thanks in advance!
previewservicesAsked:
Who is Participating?
 
alexey_gusevConnect With a Mentor Commented:
you can use RAPI to do it, look e.g. at OpenNetCF Communication package
0
 
previewservicesAuthor Commented:
Thanks alot!

For future referance to anyone else:

        Dim oRAPI As New RAPI
        Try
            oRAPI.Connect()
            If oRAPI.Connected Then
                oRAPI.CopyFileFromDevice("C:\Documents and Settings\ross\Desktop\ExportFile.txt", "\My Documents\Personal\ExportFile.txt", True)
                oRAPI.Disconnect()
            End If
        Catch ex As Exception
            MsgBox(ex.Message, MsgBoxStyle.Critical, " Device Rename Error")
        End Try

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.