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。
uj5u.com熱心網友回復:
在64位Windows下: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
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/46842.html
