Results 1 to 6 of 6

Thread: Connecting to a Access DB from a mobile device

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2007
    Posts
    2

    Connecting to a Access DB from a mobile device

    I have a regular Access DB on a desktop PC, I am trying to retrieve data from it through a mobile device running Windows Mobile (both are on a network). I didn't have any luck so far. I'm doing this .net 2003. Any input would be greatly appreciated.


    My 1st post BTW Until now I was able to find pretty much everything by searching.

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Connecting to a Access DB from a mobile device

    I don't know much about .net ....

    I take it that if you had the vb.net program on the desktop it connects ok?
    I cannot see a problem otherwise apart from specifying the drive letter (if the mobile device acts lik a normal comp).

    May be you need to use unc path or something to specify the connection.

    If you find out or discover how to do this post back - I'd be interested in how you solved it. Also you may want to move/ask about connections in the .Net forum too?

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2007
    Posts
    2

    Re: Connecting to a Access DB from a mobile device

    Now when I think about it, you are right, this question would be better off in the .Net forum. Could a mod move it there please?

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Connecting to a Access DB from a mobile device

    Moved to the (.Net) Mobile Development forum, which should get the best results for you.

  5. #5
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Connecting to a Access DB from a mobile device

    Hi,
    out of the box, .NET CF only supports connecting to SqlServer databases on the desktop, using the SqlClient namespace.

    We have a product, SqlLinkCE at www.gui-innovations.com that supports accessing any ODBC compliant database from the PPC environment.

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  6. #6
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: Connecting to a Access DB from a mobile device

    you could use a webservice to extract that data you need from the access database using odbc or oledb.

    Then the device could retieve the data from the webservice and store locally on sqlce.
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width