VB6 - XP 上的 foxpro 2.6 no isam 错误 [英] VB6 - A foxpro 2.6 no isam error on XP
问题描述
老板递给我一些相当古老的遗留代码,都是用 VB6 完成的.在安装 Visual Studio 6 和其他一些东西之后,我终于能够打开项目并实际编译/运行它.我的新问题来自这行代码:
The boss handed me some rather ancient legacy code, all done in VB6. After installing Visual Studio 6 and a few other things, I'm finally able to open the project and actually compile/run it. My new problem comes from this line of code:
Set db = DBEngine.Workspaces(0).OpenDatabase(ThePath$, False, ReadOnlyFlag, "FoxPro 2.6;")
我收到错误找不到可安装的 ISAM"
I get the error "Cannot find installable ISAM"
我不确定我错过了什么.我已经进行了一些搜索,并且在 system32 和注册表中有 MSJET35.DLL 之类的东西.Access 已安装(我在 Access 2002 和 2003 上都试过).我认为这可能是 Windows 7 或 Vista 的问题,但这是 XP Service Pack 3 中的问题.
I'm not sure what I'm missing. I've done some searching and I have things like MSJET35.DLL in system32 and the registry. Access is installed (I tried it with both Access 2002 and 2003). I would expect this to be a problem with Windows 7 or Vista, but this is in XP, service pack 3.
有什么想法吗?
推荐答案
MDAC 2.6 及更高版本中不包含 FoxPro 驱动程序.为 ODBC 或 OLEDB 下载适当的安装
The FoxPro drivers are not included in MDAC 2.6 and beyond. Download the appropriate install for either ODBC or OLEDB
FoxPro ODBC 驱动程序
FoxPro OLEDB 驱动程序
这篇关于VB6 - XP 上的 foxpro 2.6 no isam 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!