简体   繁体   English

可以在VB.NET中使用/引用Vb6模块吗?

[英]Can Vb6 modules be used/referenced in VB.NET?

I imported a .dll file that contains modules created from VB6. 我导入了一个包含从VB6创建的模块的.dll文件。 I am using VB 2017 and I was wondering if those can still be used in .NET. 我正在使用VB 2017,我想知道它们是否仍可以在.NET中使用。 Is there any way or should I re-code all the modules? 有什么办法或者应该重新编码所有模块吗?

VB6 " ActiveX DLL " projects are just COM Objects that can be called from any platform that can call COM objects. VB6“ ActiveX DLL ”项目只是可以从任何可以调用COM对象的平台上调用的COM对象。 Using .NET COM Interop one should be able to call them like any other COM object. 使用.NET COM Interop,应该可以像调用其他COM对象一样调用它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM