简体   繁体   English

运行时错误429,ActiveX组件无法创建对象,自动化MS Word应用程序,CreateObject(“Word.Application”)

[英]Run-time error 429, ActiveX component can't create object, automate MS Word application, CreateObject(“Word.Application”)

I'm running into the following error when executing the following line from VBA (Access): 从VBA(Access)执行以下行时,我遇到以下错误:

Set wd = CreateObject("Word.Application")

Imgur

I found the following link, but did not find it useful: http://support.microsoft.com/kb/828550 我找到了以下链接,但没有发现它有用: http//support.microsoft.com/kb/828550

Things I've Tried 我试过的事情


  • Repair installation of Office from Control Panel > Programs and Features 从“控制面板”>“程序和功能”修复Office的安装
  • Uninstall MS Word, re-install 卸载MS Word,重新安装
  • Tried Dim wd As Object instead of Dim wd as Word.Application 尝试将Dim wd As Object而不是Dim wd as Word.Application
  • Manually run Word. 手动运行Word。
  • Run winword.exe /RegServer in Administrator command prompt. 在管理员命令提示符下运行winword.exe /RegServer Did not run silently, merely opened Word. 没有默默地运行,只是打开了Word。
  • Examine the LocalServer32 key under the CLSID {000209FF-0000-0000-C000-000000000046}. 检查CLSID {000209FF-0000-0000-C000-000000000046}下的LocalServer32密钥。 Initially was missing. 最初失踪了。 After re-install Word, the CLDID was there but LocalServer32 key is missing. 重新安装Word后,CLDID就在那里但缺少LocalServer32密钥。
  • Run winword.exe /automation . 运行winword.exe /automation Merely starts Word. 仅仅启动Word。
  • Run winword.exe as Administrator. 以管理员身份运行winword.exe
  • Run access.exe as Administrator. 以管理员身份运行access.exe

Relevant (maybe) 相关(也许)


  • Windows 8 x64 Windows 8 x64
  • Office 2007 Office 2007
  • C:\\Program Files (x86)\\Microsoft Office\\Office12 C:\\ Program Files(x86)\\ Microsoft Office \\ Office12
  • A preview version of Office 2010 was pre-installed. 预安装了Office 2010的预览版。
  • Launching Excel works with automation and VBA. 启动Excel适用于自动化和VBA。
  • asycfilt.dll file version: 6.2.9200.16384, date: 7/25/2012 11:05pm asycfilt.dll文件版本:6.2.9200.16384,日期:7/25/2012 11:05 pm
  • oleaut32.dll file version: 6.2.9200.16384, date: 7/25/2012 11:06pm oleaut32.dll文件版本:6.2.9200.16384,日期:2012/7/25 11:06
  • olepro32.dll missing olepro32.dll缺失
  • stdole2.tlb no file version, date: 7/25/2012 10:34pm stdole2.tlb没有文件版本,日期:7/25/2012 10:34 pm
  • McAffee anti-virus McAffee抗病毒

Examine the LocalServer32 key under the CLSID {000209FF-0000-0000-C000-000000000046}. 检查CLSID {000209FF-0000-0000-C000-000000000046}下的LocalServer32密钥。 Initially was missing. 最初失踪了。 After re-install Word, the CLDID was there but LocalServer32 key is missing 重新安装Word后,CLDID就在那里但缺少LocalServer32密钥

So Word is unable to register properly because you have a system issue. 因此,您无法正确注册,因为您遇到了系统问题。
As that you've tried most or all of the reasonable steps, your next step is to reinstall Windows. 由于您已经尝试了大部分或全部合理步骤,因此下一步是重新安装Windows。

Or you could try manually registering it by duplicating all the relevant keys from a different machine. 或者您可以尝试通过复制来自其他计算机的所有相关密钥来手动注册它。 But that probably wouldn't solve the problem. 但这可能无法解决问题。

Super User might be a better place to ask about installation and Windows registry issues. 超级用户可能是询问安装和Windows注册表问题的更好地方。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 Excel VBA 创建 Word 应用程序:运行时错误“429”:ActiveX 组件无法创建对象 - Creating Word Application using Excel VBA: Run-time error '429': ActiveX component can't create object activex组件无法使用word.application创建对象错误 - activex component can't create object error with word.application CreateObject("ADODB.Command") - 运行时错误“429”:ActiveX 组件无法创建 object - CreateObject("ADODB.Command") - Run-time error '429': ActiveX component can't create object 创建Outlook对象会生成-运行时错误'429':ActiveX组件无法创建对象 - Creating Outlook object generates - Run-time error '429': ActiveX component can't create object 运行时错误“429”:ActiveX 组件无法在 VBA/VBS/WSH 中创建对象 - Run-time error '429': ActiveX component can't create object in VBA/VBS/WSH 从 Excel 发送邮件 - 运行时错误“429”:ActiveX 组件无法创建对象 - Sending mails from Excel - Run-time error '429': ActiveX component can't create object 运行时错误“ 429” activex组件无法创建对象 - run-time error '429' activex component can't create object Excel VBA 编写内嵌 VBScript - 运行时错误“429”:ActiveX 组件无法创建对象 - Excel VBA Writing in-line VBScript - Run-time error '429': ActiveX component can't create object VBA错误429“ ActiveX无法创建应用程序对象” - VBA Error 429 'ActiveX can't create application object' VBA:Acrobat运行时错误429; ActiveX组件无法创建对象 - VBA: Acrobat Run time error 429; ActiveX component can't create object
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM