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
 
Back
Top