I have a piece of code contained in a function that is duplicated in a VB.NET project and VB6 project. Long term the VB6 project will be phased out. However, short term I want the VB6 project to call the VB.NET function. I see a number of options:
1) Add VB.NET reference to VB6 project
2) Expose the VB.NET functionality to the VB6 project via a web service
Performance is important. I am trying to decide the best option.