VB6的项目都可以使用的.Net .DLL [英] Can a VB6 project use a .Net .dll

查看:148
本文介绍了VB6的项目都可以使用的.Net .DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个VB6项目。我的问题是,我可以调用.NET .dll文件,有项目的所有业务规则(从VB6应用程序)?

I have a VB6 project. My question is can I call a .NET .dll that has all the business rules of the project (from the VB6 application)?

基本上我有一个VB6项目采用了经典的ASP项目调用VB6 /的ActiveX .dll文件。要求是要弄清楚升级应用程序的最佳途径。所以,如果我更新的ActiveX .dll文件可以在VB6应用程序调用新的.NET的.dll?

Basically I have a VB6 project with a classic ASP project calling a vb6/ActiveX .dll. The requirement is to figure out the best way to upgrade the application. So, if I update the ActiveX .dll can the VB6 app call that new .NET .dll?

我想同样的问题是可行的经典ASP项目,以及...

I guess the same question is viable for the classic ASP project as well...

谢谢!

推荐答案

是的,但你需要做的.NET类型的COM可见。

Yes, but you need to make the .Net types Com Visible.

这里的演练

另请参阅有关数组下标和串低于马特的评论。

Also see Matt's comment below regarding array indices and strings.

事实上,它可能并不能使一个好主意,但...

The fact that it's possible doesn't make it a good idea though...

这篇关于VB6的项目都可以使用的.Net .DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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