locked
How to connect to MS Access db from a Metro app?

    Question

  • Metro sytle app can use JET to Open/Create .db file,
     How can a Metro style app connent to MS Access db(*.MDB)?
     Thank you.
    Thursday, October 27, 2011 6:57 AM

All replies

  • I think you have to call LoadLibraryW somewhere to load JET, which is not supported by WinRT. The developer guide at http://msdn.microsoft.com/en-us/library/windows/apps/br229583(v=VS.85).aspx#working_with_data talks about using network APIs to talk to data web services.

    I won't be surprised if open source engines like SQLite come up with a metro friendly version pretty quickly.



    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    Thursday, October 27, 2011 5:51 PM
  • Thank you, Sheng.

    I hope that Metro style app can load local data(mdb), but is not data query from web.

     

    Friday, October 28, 2011 9:20 AM