Solved

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

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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). …

746 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

16 Experts available now in Live!

Get 1:1 Help Now