如果接入未安装我的计划仍然运行
问题说明
我正在开发从Excel文件检索信息并转换这些信息存储在一个Access数据库并在以后使用它的程序。
,该计划将要操作确实有安装Excel,但我不知道它是否有访问的计算机。
我只是想知道会在这种情况下,或访问我的工作方案绝对应该在其他计算机上安装的?
I am developing a program that retrieves information from Excel files and converts that information to store it in an Access Database and use it later. The computer that the program will operate on does have Excel installed, but i am not sure whether it has Access. I was just wondering will my program work in this case or Access should definitely be installed on the other computer?
正确答案
答案是:这取决于
-
如果你的目标
MDB
访问文件时, Jet数据库引擎自带的Windows预安装,所以你不需要安装任何东西(确保它的编译86
虽然不是值为anycpu
或者它可能无法在64位系统上运行)。
-
If you are targeting
mdb
Access files, the Jet database engine comes pre-installed with Windows, so you do not need to install anything (make sure it's compiled forx86
though, notAnyCPU
or it may not work on 64bit systems).
如果您正在使用Access 2007/2010/2013新 ACCDB
格式,目标机必须具备的Access安装数据库引擎(作为的 KekySemau 回答)结果
不过要小心:你只能安装或者32位的或的64位版本,和你自己的程序位数必须匹配该驱动程序。结果
此外,如果用户安装了微软Office的另一个版本(32位或64位),您将无法安装发动机(虽然它应该已经被他们是否有安装。Office 2007或更高版本)
If you are using the Access 2007/2010/2013 newer accdb
format, the target machine must have the Access Database Engine installed (as KekySemau answered).
Be careful though: you can only install either the 32bit or 64bit version, and your own program bitness must match that of the driver.
Also, if the user has another version of MS Office installed (32bit or 64bit), you won't be able to install the engine (although it should already be installed if they have Office 2007 or a later version).
简短的回答:如果你坚持使用 MDB
,你不需要安装任何额外的。
在任何情况下,请确保您编译为 86
架构明确您的C#应用程序。
Short answer: if you stick with mdb
, you don't need to install anything additional. In any case, make sure you compile your C# app for the x86
architecture explicitly.
这篇好文章是转载于:编程之路
- 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
- 本站站名: 编程之路
- 本文地址: /reply/detail/tanhcgicka
-
YouTube API 不能在 iOS (iPhone/iPad) 工作,但在桌面浏览器工作正常?
it1352 07-30 -
保持在后台运行的 iPhone 应用程序完全可操作
it1352 07-25 -
iPhone,一张图像叠加到另一张图像上以创建要保存的新图像?(水印)
it1352 07-17 -
使用 iPhone 进行移动设备管理
it1352 07-23 -
在android同时打开手电筒和前置摄像头
it1352 09-28 -
扫描 NFC 标签时是否可以启动应用程序?
it1352 08-02 -
检查邮件是否发送成功
it1352 07-25 -
Android微调工具-删除当前选择
it1352 06-20 -
希伯来语的空格句子标记化错误
it1352 06-22 -
Android App 和三星 Galaxy S4 不兼容
it1352 07-20