Solved

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

Posted on 2008-10-24
2
296 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 250 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

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Question has a verified solution.

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

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now