在VB 6中使用VS 3.5控件 [英] Consume VS 3.5 control in VB 6

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

问题描述

我想在Visual Basic 6.0表单应用程序中使用c#来使用Visual Studio 3.5中开发的库应用程序(dll)。我访问了几个网站和博客,但没有得到任何特定于VS 3.5 dll和VB 6.0的帖子。任何人都可以通过提供所有步骤来帮助,也可以更好地演示项目!!

I want to consume library application (dll) developed in Visual studio 3.5 using c# in Visual basic 6.0 form application. I visit several sites and blogs but didn't get any post specific to VS 3.5 dll and VB 6.0. Can anyone help by giving all steps to do so, also demo project will be better !!

推荐答案

VB6不能使用.NET库...但是它可以使用COM接口...幸运的是你可以用这样的COM接口创建.NET程序集......

https://msdn.microsoft.com/en-us/library/x66s8zcd.aspx [ ^ ]
VB6 can not consume .NET libraries as is...However it can consume COM interfaces...Fortunately you can create .NET assemblies with such COM interface...
https://msdn.microsoft.com/en-us/library/x66s8zcd.aspx[^]


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

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