I would like to call a method which is written in visual basic 6.0 from c# (visual studio 2008). Is it possible? How would I do it?
Easiest way to do it is to just compile the VB6 code as an ActiveX DLL. Then you can reference the DLL in your .net project. (Visual studio can reference ActiveX DLLs properly.)
2.1m questions
2.1m answers
60 comments
57.0k users