|
Prev: Creating, debuging CSP files for provisioning and wireless
Next: Waking up a Pocket PC from a complete shutdown
From: Adam Smith on 18 Jul 2008 16:55 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
From: Ginny Caughey MVP on 18 Jul 2008 17:53 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. -- Ginny Caughey Device Application Development MVP "Adam Smith" <adamsNOSPAM(a)norsoft.net> wrote in message news:E0647753-29B5-4680-BD13-DF27BE5E95F9(a)microsoft.com... > 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
From: Daqi Pei on 18 Jul 2008 18:11 Adam Smith wrote: > 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 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
From: Adam Smith Adam on 24 Jul 2008 14:58 Ginny, Do you have any examples on using RAPI in .NET/Visual Studio 2008? So far, I have not had any success. Regards, Adam "Ginny Caughey MVP" wrote: > 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. > > -- > > Ginny Caughey > Device Application Development MVP > > > "Adam Smith" <adamsNOSPAM(a)norsoft.net> wrote in message > news:E0647753-29B5-4680-BD13-DF27BE5E95F9(a)microsoft.com... > > 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 >
From: Chris Tacke, eMVP on 24 Jul 2008 15:14
http://www.opennetcf.com/FreeSoftware/DesktopCommunication/tabid/90/Default.aspx -- Chris Tacke, Embedded MVP OpenNETCF Consulting Giving back to the embedded community http://community.OpenNETCF.com "Adam Smith" <Adam Smith(a)discussions.microsoft.com> wrote in message news:02FBE115-5637-4033-8E4E-E39A36360A68(a)microsoft.com... > Ginny, > Do you have any examples on using RAPI in .NET/Visual Studio 2008? So far, > I > have not had any success. > > Regards, > Adam > > "Ginny Caughey MVP" wrote: > >> 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. >> >> -- >> >> Ginny Caughey >> Device Application Development MVP >> >> >> "Adam Smith" <adamsNOSPAM(a)norsoft.net> wrote in message >> news:E0647753-29B5-4680-BD13-DF27BE5E95F9(a)microsoft.com... >> > 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 >> |