gpt4 book ai didi

vb6 - Windows 2012 Server 上的 VB 6 数据访问组件安装

转载 作者:行者123 更新时间:2023-12-03 03:17:56 25 4
gpt4 key购买 nike

我尝试在 Windows 2012 服务器上安装 Visual basic 6.0,但它没有安装,如果我删除数据访问组件,它就会成功安装。但我没有安装数据访问组件,excel引用丢失。

最佳答案

这也是我的问题。

我通过在 Visual Studio 6 中取消选中数据访问组件安装来解决这个问题,而是通过安装 AccessDatabaseEngine.exe (Microsoft Access Database Engine 2010 Redistributable 的 32 位版本)来解决此问题

下载链接:Microsoft Access Database Engine 2010 Redistributable

来自微软文档:

The Office System Drivers are only supported under certain scenarios, including:

  • Desktop applications which read from and write to various files formats including Microsoft Office Access, Microsoft Office Excel and text files.
  • To transfer data between supported file formats and a database repository, such as SQL Server.

重要说明:遗憾的是,在我现有的应用程序中,我必须更改 MDAC 引用以及如下所述的连接字符串(对于新应用程序,这不是问题):

If you are an application developer using OLEDB, set the Provider argument of the ConnectionString property to “Microsoft.ACE.OLEDB.12.0”

关于vb6 - Windows 2012 Server 上的 VB 6 数据访问组件安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30656303/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com