Click here to Skip to main content
16,017,833 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
It Is Possible Write Two Application With Two Different Language (Example C#,And Visual Basic) And Combine Two Program In one Program In Visual Studio. If Yes How?

(I Want Write Two Part Of One Program In Two Different Language And Merge Them)

Thanks.
Posted

1 solution

The easiest way (indeed the only way I know of other than manually creating build files) is to keep one of them as a DLL and reference it in the other.
So you would create two projects:
A C# Winforms EXE project.
A VB Class Library project.
The two will sit hpapily side by side, then.
 
Share this answer
 
Comments
LanFanNinja 25-Nov-11 14:15pm    
+5
Sergey Alexandrovich Kryukov 25-Nov-11 16:16pm    
You should have clearly indicated: VB.NET, not VB. Some decent non-CLR languages could also be used with P/Invoke (C++, Delphi), but not VB.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900