Click to See Complete Forum and Search --> : Can vb.net code be integrated with c# code?
clairexh
Dec 1st, 2004, 07:24 AM
Hi
we are going to develop a web application, one person is more familiar with vb, another one is more familar with c#, in the end we need to integrate them together, is this possible? easy?
Many thinks
crptcblade
Dec 1st, 2004, 07:36 AM
You can use a component compiled in VB in a C# project, and vice versa, but you can't mix the source code, no.
mendhak
Dec 1st, 2004, 11:44 AM
Familiarity compiles contempt. :sick:
Using two separate DLLs to achieve the same thing brings in unnecessary complexity, if they need to interact. Familiarity in one language would imply familiarity in the other. I'm working in C# right now, although I'm pro-VB.NET. No problem yet has strangled me. :)
hellswraith
Dec 5th, 2004, 10:03 PM
In Visual Studio .NEXT (2005?) you will have the ability to have VB and C# code files in the same project. Right now, you need two seperate projects (one a vb, and the other a C#).
I REALLY think that it is a horrible idea. The only way I would think about making that work would be to have the VB guy do all the form coding, and the C# guy doing a library on the back side that the form code talks to. That is proper seperation anyway, but damn, two different languages! UGHH!
plenderj
Dec 6th, 2004, 04:14 AM
Effectively they're nearly not separate languages though - they both compile to the same CLR.
mendhak
Dec 6th, 2004, 05:58 AM
Might as well code in MSIL then ;)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.