问题描述
你好,
i有一个vb6.0 OCX控件,我想添加我的dot net项目,并且还希望用dot net setup部署它。 br />
我在IDE的工具箱中添加了ocx。它在我的项目的obj文件夹中创建了两个dll。使用这两个dll,这在开发系统上运行良好。
但是当我在客户端的机器上运行并运行应用程序时,它会出现错误Class not registered。
请帮忙。 />
我尝试了什么:
i创建了一个安装项目并添加了全部需要带有exe的dll并且还添加了两个ocx dll(Interop。**** Lib和AxInterop。**** Lib)并为Interop设置Register property = vsdraCOM
。**** Lib dll 。
并将目标目录设置为应用程序目录。
就是这样。
请帮助..在哪里和什么我错过了。
hello,
i have a vb6.0 OCX control and i wants to add in my dot net project and also wants to deploy it with dot net setup.
I have added ocx in tool box in IDE. its created two dlls in obj folder of my project. Use this both dlls and this working fine on development system.
but when i install it at client's machine and run application its gives a error "Class not registered".
Please help.
What I have tried:
i have creates a setup project and added all required dlls with exe and also added both ocx dlls (Interop.****Lib and AxInterop.****Lib) and set Register property =vsdraCOM
for Interop.****Lib dll.
and set target directory as application directory.
thats it.
Please help.. where and what I missing.
推荐答案
这篇关于如何将vb6 ocx添加到dot net项目并使用setup部署dot net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!