KB article documentation on making database connections programmatically needs to be improved.
上次发布: August 19, 2020ArcGIS for Desktop
漏洞 ID 编号
NIM042847
已提交
February 25, 2009
上次修改时间
June 5, 2024
适用范围
ArcGIS for Desktop
找到的版本
9.3
编程语言
VBA
操作系统
Windows OS
操作系统版本
XP
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.
解决办法
VBA > OLE Connection > MS Access DatabaseMS Access Database with Password ProtectionDim connectStr As StringconnectStr = "CONNECTSTRING=Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\File\connect.mdb;Jet OLEDB:Database Password=mypassword; Persist Security Info=True"