Dim icdDocument As New DOMDocument40 ' Set the basic document properties
icdDocument.async = False
这里是Access2003里写的代码,发生错误,提示Run-time error '429': ActiveX component can't create object. 怎么解决这样的问题?采用下面方法注册DLL,还是不行。
regsvr32 "C:/Program Files/Common Files/Microsoft Shared/DAO/dao360.dll"
regsvr32 "C:/windows/system32/scrrun.dll"是xmldom 40这个没有安装吗?怎么知道是否安装了?C:\Windows\System32没有这个DLL。
icdDocument.async = False
这里是Access2003里写的代码,发生错误,提示Run-time error '429': ActiveX component can't create object. 怎么解决这样的问题?采用下面方法注册DLL,还是不行。
regsvr32 "C:/Program Files/Common Files/Microsoft Shared/DAO/dao360.dll"
regsvr32 "C:/windows/system32/scrrun.dll"是xmldom 40这个没有安装吗?怎么知道是否安装了?C:\Windows\System32没有这个DLL。
64位exe和dll在目录c:\windows\system32目录下;
32位exe和dll在目录c:\windows\syswow64目录下;
所以要注意:
在win64位系统下注册32位ocx或dll需要将32位ocx或dll拷贝到c:\windows\syswow64\目录下。
且注册要用c:\windows\syswow64\regsvr32 xxxxxxx.ocx或dll
64 位 Windows 平台注意点之文件系统重定向 http://www.cnblogs.com/jiake/p/4981555.html
64 位 Windows 平台注意点之注册表重定向 http://www.cnblogs.com/jiake/p/4956218.html