Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-24
2
Medium Priority
?
336 Views
Last Modified: 2013-12-05
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
Comment
Question by:previewservices
2 Comments
 
LVL 24

Accepted Solution

by:
alexey_gusev earned 1000 total points
ID: 22794938
you can use RAPI to do it, look e.g. at OpenNetCF Communication package
0
 

Author Comment

by:previewservices
ID: 22795035
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question