简体   繁体   English

如何从Windows CE移动设备访问文件到我的桌面应用程序?

[英]How Can I access File from Windows CE mobile to my desktop application?

我想从windows ce mobile访问.sdf文件到我在C#中的桌面应用程序。如何从windows CE mobile访问.sdf文件。如何找到存储在windows ce mobile中的sdf路径。

There is microsoft article about that: http://support.microsoft.com/kb/307256 . 有关于该的微软文章: http//support.microsoft.com/kb/307256 It uses RemotePAI to access your device. 它使用RemotePAI访问您的设备。

Here is some similar example : http://christian-helle.blogspot.com/2007/06/copying-files-from-device-to-desktop.html 以下是一些类似的例子: http//christian-helle.blogspot.com/2007/06/copying-files-from-device-to-desktop.html

I hope this helps. 我希望这有帮助。

A connected device does not have a local path. 连接的设备没有本地路径。 The "My Device" you see in Explorer is just a trick of a shell extension. 您在资源管理器中看到的“我的设备”只是shell扩展的一个技巧。 To get device files, you have to use RAPI. 要获取设备文件,您必须使用RAPI。 There's a .NET wrapper for it here . 这里有一个.NET包装器

you can use RAPI to access your sdf file. 您可以使用RAPI访问您的sdf文件。 but it's very trick to access from pc to mobile device. 但这是从PC到移动设备访问的绝招。 it's better to move your sdf file from mobile to pc and use that file. 最好将sdf文件从移动设备移动到PC并使用该文件。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在代码中配置我的Windows服务以访问桌面? - How can I configure my windows service in the code to access the desktop? 如何使Windows CE Embedded设备识别文件共享? - How can I get my Windows CE Embedded device to recognize a file share? 如何使Windows CE手持设备与桌面应用程序完全同步 - how to get a Windows CE handheld fully in sync with a desktop application 使用RAPI将文件从Windows CE设备传输到台式计算机 - Transferring file using RAPI from Windows CE device to a desktop computer 如何通过Windows应用程序访问Web.Config文件中的连接字符串 - How can I access the connection string in my Web.Config file through a Windows Application 如何从c#动态地从SQL Server CE [Windows mobile]运行SQL脚本文件? - How to run SQL script file from SQL Server CE [Windows mobile] from c# dynamically? 如何实现 Windows 桌面服务和 Windows 桌面应用程序之间的通信? - How can I achieve communication between a windows desktop service and a windows desktop application? 如何在桌面WPF应用程序中播放OGG声音文件? - How can I play a OGG sound file inside of my desktop WPF application? 如何在不增加可执行文件大小的情况下将图像添加到桌面应用程序? - How can I add images to my desktop application without increasing the executable file size too much? 如何从 c# 中的类文件更新窗体 GUI for windows CE (Windows Mobile 6.5.3 ) CF 3.5 设备 - How to update the form GUI from a class file in c# for windows CE (Windows Mobile 6.5.3 ) Devices with CF 3.5
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM