如何在Vb.Net中连接未安装Ms Office的Access数据库 [英] How Can I Connect Access Database Without Installed Ms Office In Vb.Net

查看:327
本文介绍了如何在Vb.Net中连接未安装Ms Office的Access数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在vb.net中没有安装MS Office的情况下连接访问数据库

我在vb.net项目中有连接访问数据库但该项目我在其他机器上运行它查看错误

ACE.OLEDB.12.0'提供程序未在本地计算机上注册

How can i connect access database without installed MS Office in vb.net
I have connect access database in vb.net project but that project I am running in other machine it view a error
ACE.OLEDB.12.0' provider is not registered on the local machine

推荐答案

您不需要安装整个办公室,但是您需要安装ACE或JET引擎驱动程序才能在代码中使用Access文件:以及系统/代码的正确版本 - 32位版本不适用于64位代码,反之亦然。



看看这里: http ://www.microsoft.com/en-gb/download/details.aspx?id = 13255 [ ^ ] - 它提供下载和说明。
You don't need to install the whole of office, but you do need to install either the ACE or the JET engine driver to use Access files in your code: and the correct version for your system / code as well - the 32 bit version will not work with 64 bit code and vice versa.

Have a look here: http://www.microsoft.com/en-gb/download/details.aspx?id=13255[^] - it provides the download, and instructions.


这篇关于如何在Vb.Net中连接未安装Ms Office的Access数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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