C# and VB Communication

melkanzi

Freshman
Joined
Jul 9, 2006
Messages
29
Hi,
I have a project where part of it is in C# and the other is in VB (using VS2005) how can I use functions that are in VB in C# and vice versa??
If I have a function in VB in Form1 called for example Function1, when I declare a Form1 object in C# i dont see the Function1 as part of the object, despite being declared Public..
Thnx
 
I am getting you correctly you are saying that you have both C# and VB in the same project. Not in separate assemblies. If this is the case I don't believe you can mix them like that. You will either have to convert the C# to VB or vice versa.
 
Back
Top