• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 339
  • Last Modified:

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!
0
previewservices
Asked:
previewservices
1 Solution
 
alexey_gusevCommented:
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now