如何更改保存在程序文件中的 ms access 数据库中的数据? [英] How to change data in ms access database saved in Program Files?

查看:48
本文介绍了如何更改保存在程序文件中的 ms access 数据库中的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 MS Access 数据库制作了一个软件,存储在 Program Files 中,但我无法更改此数据库中的数据,因为它保存在 Program Files 中.它可以在其他位置运行,但我需要 Program Files 中的数据库.

I made a software with a MS Access database, stored in Program Files and i can't change data in this database because it's saved in Program Files. It's working in other locations, but I need the database in Program Files.

它说:此数据库已以只读方式打开."

It says: "This database has been opened read-only."

有人知道如何解决这个问题吗?

Does anyone know how to solve this problem?

推荐答案

使用 Inno Setup正如 David 指出的那样,创建一个 Access 数据库文件的安装到 users Application Data 文件夹.Inno Setup 第三方文件页面是一个非常有用的增强功能列表.我一直很高兴使用 ISTools 来帮助创建安装程序.当您使用 ms-access-2007 标记您的问题时,您可以将免费的 Access 运行时用于可执行部分.

Use Inno Setup to create an install of your Access database file to, as David points out, the users Application Data folder. The Inno Setup Third-Party Files page is a list of very useful enhancements. I've been happily using the ISTools to help with creation of the installer. As you tagged your question with ms-access-2007 you can use the free Access runtime for the executable portion.

示例 inno 脚本,用于检查是否已安装 Access 版本. 如果没有,它会告诉您安装 Access 的运行时版本.如果已安装,它会继续安装您的 FE MDE 和其他各种文件.'

Sample inno script which checks to see if a version of Access is installed. If not it tells you to install a runtime version of Access. If installed then it continues to install your FE MDE and other assorted files.'

示例 inno 脚本包装"软件包向导安装到单个 .exe 中

在 Access 2007 的运行时环境中部署软件更新

这篇关于如何更改保存在程序文件中的 ms access 数据库中的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆