dim_d1762 Posted November 14, 2003 Posted November 14, 2003 Hi, Help pls. I have a solution created in VS.Net and I added two projects in it, the main project's written in VB and the second one in C#. I want to reference classes from C# project and use it in VB one. Like in VB there is a front end and in C# there is an application logic. So when I click a button in VB form (for exmple "RUN") I want to call a method defined in C# project. How do I do that? Where to go to find any help on that topic. I set up project dependences but it didn't help. Thank you, and I appriciate any advice on that. Dim Quote
Administrators PlausiblyDamp Posted November 14, 2003 Administrators Posted November 14, 2003 In the Vb project add a reference to the C# one. You should then be able to access the C# classes using the syntax of C#projectnamespace.classname however only classes and methods declared public in the C# project will be available. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.