集成vb.net和C#窗口应用程序 [英] integrating vb.net and C# window appliction

查看:74
本文介绍了集成vb.net和C#窗口应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我拥有一个vb.net应用程序和c#锋利的应用程序,谁能告诉我可以整合这两种内容,请教我.


关于siv

im having a vb.net application and c# sharp application can any one tell me is possible to integrate the 2 things if so, kindly teach me.


regards siv

推荐答案

它们在DLL级别上是相同的,因此只需在c#项目中引用vb.net.
They are the same at the DLL level so just reference vb.net in your c# project.


您不能将两个应用程序直接添加到一起.如果要添加一些代码或函数,则可以创建该cade的dll(动态链接库)文件.创建dll之后,您可以将该dll的引用添加到C#项目
You can not Add both application together as it is.If you want to add some code or functions then you can make dll(Dynamic link library) file of that cade.after creating dll you can add the reference of that dll into the C# Project
Steps : Right Click on Project In Solution Explorer->Add Reference.


但是首先,您必须学习如何制作类库即(DLL).
如果您想大量引用代码,这很好.
如果您希望使用少量代码,请尝试使用转换工具将该代码转换为Vb.Net.


But for that first of all you have to learn how to make Class Library i.e.(DLL).
This is good when you want to refer large quantity if code.
If you want small lines of code then try to convert that code into Vb.Net using Conversion tools.


这篇关于集成vb.net和C#窗口应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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