To use C# code in your VB code you should built a C# assembly and reference
to it from you VB project.
In other words: you will get two projects, one C# and one VB. You will get a
C# assembly (= .dll) and this has to be
referenced in your VB project (like you'll normally do with any .net dll)
Converting it via a C# to VB translator is an easy and safe option also.
--
David Anton www.tangiblesoftwaresolutions.com
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant C++: C# to C++ Converter
Instant J#: VB.NET to J# Converter
Add it in a new C# project (class library) that you have added in your VB
Net project.
Using the "Project" Tab in references, and select it, than you have it
direct in your VB project.
I hope this helps,
Cor
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.