如何使用CLSID {0002095FF-0000-0000-C000-000000000046}为组件的COM类工厂进行检测 [英] how to solveretrieving the COM class factory for component with CLSID {0002095FF-0000-0000-C000-000000000046}

查看:77
本文介绍了如何使用CLSID {0002095FF-0000-0000-C000-000000000046}为组件的COM类工厂进行检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中我希望将docx文件转换为html with microsoft.office.interop.word evrything在我的系统中很好但在其他机器x86剂量工作并且出现此错误检索具有CLSID的组件的COM类工厂{0002095FF- 0000-0000-C000-000000000046}由于以下错误而失败:80040154帮帮我!



i tryed:1。将目标机器从任何cpu更改为X86

2.add microsoft.office.interop.worrd.dll但不能用regsvr32添加它



帮助我





编辑



安装在我的系统办公室2007和其他系统办公室2010或2013安装

in my application i want convert docx file to html with microsoft.office.interop.word evrything in my system fine but in other machine x86 dosent work and appera this error " retrieving the COM class factory for component with CLSID {0002095FF-0000-0000-C000-000000000046} failed due to the following error: 80040154" help me!

i tryed : 1.change target machine from any cpu to X86
2.add microsoft.office.interop.worrd.dll but cannot add it with regsvr32

help me


EDITED

in my system office 2007 installed and in the other system office 2010 or 2013 installed

推荐答案

学习复制/粘贴! Word.application的Guid是

{000209FF-0000-0000-C000-000000000046},而不是
5 FF-0000- 0000-C000-000000000046}

确保目标计算机上安装了32位版本的Word 2007或更高版本。

Interop dll不安装Word!
Learn copy/paste! The Guid for word.application is
{000209FF-0000-0000-C000-000000000046}, not
{0002095FF-0000-0000-C000-000000000046}
Make sure that a 32bit version of Word 2007 or later is installed on the target machine.
The Interop dlls do not install Word!


这篇关于如何使用CLSID {0002095FF-0000-0000-C000-000000000046}为组件的COM类工厂进行检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆