2012-03-01 38 views
1

我使用由兄弟提供的Interop.bpac.dll开发Windows窗体应用程序。 我尝试使用clickonce和一个安装项目部署项目,但我无法设法将该应用程序在其他机器上工作。我总是得到“无法创建ActiveX组件”。我认为问题在于安装程序没有注册COM组件,但我不知道如何解决这个问题。我已经尝试了一切。如何隔离COM组件.net

我知道我们可以隔离一个COM组件,但我无法找到我在互联网上看到的属性。

你有什么想法吗?

谢谢

我发现了这个问题。你需要做的是

1. Select the deployment project in Solution Explorer. 

2. On the Project menu, point to Add, and then click Merge Module. 

3. Select the the module C:\Program Files\Brother bPAC3 SDK\Redist\bPAC3.msm that is created when you install the SDK 

是工作:)

+0

REG-COM免费不解决这个问题,你仍然需要有正确部署到该计算机的COM组件。您不会得到Brother的帮助,确切地告诉您需要哪些DLL,他们会告诉您只需运行组件的安装程序。好建议。 – 2012-03-01 13:36:53

+0

我已经在我的电脑中安装了SDK,所以一切正常。但客户端机器上没有。 Brother对此没有任何文档。我怀疑如果我在客户端的机器上注册这个DLL程序将工作。 – cristelo 2012-03-01 14:06:15

+0

我发现了这个问题。你需要做的是 1.在解决方案资源管理器中选择部署项目。 2.在项目菜单上,指向添加,然后单击合并模块。 3.选择模块C:\ Program Files文件\兄弟bPAC3 SDK \的Redist \ bPAC3.msm当您安装SDK 是工作:) – cristelo 2012-03-01 15:27:40

回答

0

我发现这个问题。你需要做的是

1. Select the deployment project in Solution Explorer. 

2. On the Project menu, point to Add, and then click Merge Module. 

3. Select the the module C:\Program Files\Brother bPAC3 SDK\Redist\bPAC3.msm that is created when you install the SDK 

是工作:)