c# - Windows Form Application with Microsoft Access Database Deployment -
after creating setup , installing project, got confused .accdb file located. found out located @ "c:\users\mypc\appdata\local\virtualstore\program files (x86)\winform\winform\records.accdb". how can modify location of database file located @ same folder executable file , @ same time used database? in advance.
how can modify location of database file located @ same folder executable file
if want able update database don't want put in same folder executable file(s) if being deployed standard location described %programfiles%
environment variable (e.g., c:\program files\...
). users not have write access folders attempts update database in location fail.
instead, should consider deploying database file(s) location users do have read/write access. example, use folders defined either %userprofile%
(for specific user), or %public%
(for users).
Comments
Post a Comment