prabha_friend
Prabhakaran Karuppaih
- Local time
- Today, 17:01
- Joined
- Mar 22, 2009
- Messages
- 1,038
ProjectA: C# class library project
ProjectB: .Net MAUI Blazor Hybrid project
ProjectB: .Net MAUI Blazor Hybrid project
The problem is building the connection string. Where the database file (any database file) would be residing after deployment and How to access the exact same file... is where the problem is.Jet/ACE are ODBC compliant. To get data from an .mdb or .accdb, your code needs to use ODBC to make proper connections. I think DAO is only used within VBA. You probably need to use ADO.
You know... In MAUI. The target machine may be an Android or an Iphone or a PC. PC has drives and what about other devices...If you don't know where the database is then that is a problem. Do they move around? Because if they don't then you can have a setup procedure that locates the database so that the app can build the correct connection string.
Files are files. They're just buckets of bits. Using a file is different and these .accdb's are to be used to provide data.
.....I'm pretty sure ......I think he wants the phones.....
... is beyond me though....
Sorry, I missed the link....
_dbContext.Database.EnsureCreated() does the Magic!Sorry Doc. Now only I searched about accdb and visual studio. We cannot migrate accdbs using Entity Framework Core. so now my question is: "How to use an sqlite3 database file between two projects inside a visual studio solution". Now it has become a complete "Other Software". Thanks Doc.
Both storing and accessing the Backend in the Phone itself. Using MAUI, you can write a single app which can run in windows, android, iphone and Tizen.@prabha_friend Please clarify. Are you storing the BE on a phone or are you trying to access the BE from a phone?
https://www.access-programmers.co.u...-a-visual-studio-solution.334325/post-1968280So you're saying that MAUI can make Access run on your phone? I doubt it. If you can use a browser to get to a Citrix server or remote desktop, you can run Access "from your phone" but not "on your phone".
Why are you storing Access databases on a phone anyway? And why would you want to retrieve data from an Access database on MY phone and how are you going to turn on MY phone anyway?
So you're saying that MAUI can make Access run on your phone?