Calling .NET from VB

  • Thread starter Thread starter Neil Penn
  • Start date Start date
N

Neil Penn

I need to be able to call some .NET code from an old VB application.

Looking around on MSDN it looks like I should expose the .NET code as a COM
object and access the COM object from Visual Basic.

Does anyone have any experience of doing this? Is this the best strategy or
is there another way to do it?

Thanks
 
Your options are to either expose your .NET objects via a COM-callable
wrapper (use tlbexp.exe for this) or expose a web service. These offer very
different pros and cons.

Ian
 

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.

Ask a Question

Back
Top