在C#中使用VB6 ActiveX控件 [英] Use VB6 ActiveX Control in C#

查看:128
本文介绍了在C#中使用VB6 ActiveX控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我正在开发使用VB6 ActiveX(COM)组件的应用程序。它在开发PC上工作得很好。但它不能在其他PC上工作。

我尝试使用regsvr32注册.ocx控件,但它给出错误''未找到入口点''。我尝试了很多方法,但它不起作用。



请帮助。



在此先感谢

Hello,

I am developing Application which use VB6 ActiveX(COM) Component. Its work fine at Development PC. But it don''t work at other PC.
I tried to register .ocx control using regsvr32 but it gives error ''Entry point not found''. I tried many ways but it does''t work.

Please help.

Thanks In Advance

推荐答案

你没有提供任何解决这个问题的东西,但即便考虑它也毫无意义。如果您已经使用过C#,那么处理VB6只能由受虐狂来证明。



VB6在推出市场之前就已经过时了。你几乎无法说出一个理由搞砸它。



-SA
You did not provide anything to solve this problem, but even considering it makes no sense at all. If you already using C#, dealing with VB6 can be justified only by a masochist.

VB6 was obsolete even before it was introduced to the market. You hardly can tell a single reason to mess with it.

—SA


我有在VB6中开发的COM组件。我必须在我的应用程序中使用这个组件。



我正在升级文档管理的应用程序,其中我使用Read_Write_Doc.ocx组件读取doc并将其写入另一个doc。

为此,我必须这样做。
I have COM Component which is developed in VB6. I have to use this component in my Application.

I am upgrading an application for Document Management in which i used Read_Write_Doc.ocx component which Read doc and Write it into another doc.
For This I have to do this all.


您的错误可能不是OCX中缺少的入口点,但可能是缺少依赖项。



尝试在客户端计算机上运行依赖步行器(depends.exe)。



它应该可以帮助你添加缺少的dll(可能来自VB6运行时)。
Your error may not be a missing Entry Point in your OCX but may be a missing dependency.

Try to run the dependency walker ("depends.exe") on the client computer.

It should help you to add the missing dlls (may be from VB6 runtime).


这篇关于在C#中使用VB6 ActiveX控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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