Link to home
Start Free TrialLog in
Avatar of previewservices
previewservicesFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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!
ASKER CERTIFIED SOLUTION
Avatar of alexey_gusev
alexey_gusev
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of previewservices

ASKER

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