Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted
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.

"Programmers are tools for converting caffeine into code."

 

Madcow Inventions -- Software for the Sanity Challenged.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...