Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / Windows Mobile / October 2008

Tip: Looking for answers? Try searching our database.

Accessing mobile device's file system

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Adam Smith - 18 Jul 2008 21:55 GMT
Microsoft,
I am a .NET developer working on an inventory management system for a
client. They use various Windows Mobile 5 barcode scanners, which I am
developing on. I am currently storing the SQL CE database in the My
Documents folder.

How am I able to access this database (or any other file) directly from a
Windows Forms program? Right now I am relying on ActiveSync but would like
to accomplish this directly to eliminate the sync issues I am having.

The mobile device's name is "Unitech Scanner". I have tried:
"/Unitech Scanner/My Documents/MobileInvManagement.sdf"
"/My Documents/MobileInvManagement.sdf"
"/Computer/Unitech Scanner/My Documents/MobileInvManagement.sdf"
"/Mobile Device/My Documents/MobileInvManagement.sdf"

I am on Vista using .NET 3.5 and Visual Studio 2008.

Regards,
Adam
Ginny Caughey MVP - 18 Jul 2008 22:53 GMT
Adam,

You can't access the mobile file system from a desktop app directly except
via the remote API (Rapi) which is installed along with ActiveSync/Windows
Mobile Device Center. You may find using Rapi rather than sync meets your
needs, however you won't be able to open a database on the device from the
desktop app, although you can copy it to the desktop and work with it there.
Tell us more about what you want to accomplish and perhaps we can point you
toward a solution.

Signature

Ginny Caughey
Device Application Development MVP

> Microsoft,
> I am a .NET developer working on an inventory management system for a
[quoted text clipped - 16 lines]
> Regards,
> Adam
Adam Smith - 24 Jul 2008 19:58 GMT
Ginny,
Do you have any examples on using RAPI in .NET/Visual Studio 2008? So far, I
have not had any success.

Regards,
Adam

> Adam,
>
[quoted text clipped - 26 lines]
> > Regards,
> > Adam
Chris Tacke, eMVP - 24 Jul 2008 20:14 GMT
http://www.opennetcf.com/FreeSoftware/DesktopCommunication/tabid/90/Default.aspx

Signature

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

> Ginny,
> Do you have any examples on using RAPI in .NET/Visual Studio 2008? So far,
[quoted text clipped - 41 lines]
>> > Regards,
>> > Adam
Ginny Caughey MVP - 24 Jul 2008 20:56 GMT
Adam,

The OpenNetCF sample Chris referred to is the one we usually point people
to.

Signature

Ginny Caughey
Device Application Development MVP

> Ginny,
> Do you have any examples on using RAPI in .NET/Visual Studio 2008? So far,
[quoted text clipped - 41 lines]
>> > Regards,
>> > Adam
Daqi Pei - 18 Jul 2008 23:11 GMT
> Microsoft,
> I am a .NET developer working on an inventory management system for a
[quoted text clipped - 16 lines]
> Regards,
> Adam

There is no way to by-pass ActiveSync if you want to access the
filesystem, because the driver for WM devices comes with ActiveSync.
(Except for Windows Vista)
The ways to work around would possibly be, using Wifi or Bluetooth.

Regards,
Daqi
www.peidaqi.com
Rick Rosenhagen - 23 Oct 2008 20:37 GMT
i am trying to create a small inventory program for our dell pocket pcs that will allow us to scan barcodes in the bins in our warehouse.  I would then take that information and compare it to our counts in our inventory module in our backend accounting system.  Can you share some code with me to help me get started.  I am using vb.net 2008.  Thanks
Rick Rosenhagen - 23 Oct 2008 20:40 GMT
I am using vb.net 2008 to design a simple inventory counting program for my Dell pocket pcs.  I just need it to scan a barcode allow the user to enter a bin location and a count and a note.  after all the data is scanned i need to export it so I can compare it to our inventory counts in our backend accounting system.  Can you share some code with me to get me started.  I am new to pocket pc development for the most part.  I have played with it some in past versions.
thank you.
Stephen Bye - 24 Oct 2008 19:25 GMT
>I am using vb.net 2008 to design a simple inventory counting program for my
>Dell pocket pcs.  I just need it to scan a barcode allow the user to enter
[quoted text clipped - 4 lines]
>played with it some in past versions.
> thank you.

Pocket Excel should be able to cope with that easily.
No programming required.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.