Solved

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

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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Suggested Solutions

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

830 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