This article describes a way to create a COM object with VB.Net:
http://www.codeguru.com/vb/gen/vb_ge...cle.php/c8269/
I used the instructions under Solution 1 as a guide for creating a component
with C# that could be accessed as a COM object from VB or C++ code developed
under Visual Studio 6.0. After building the project I used regasm to
register the DLL (.Net assembly). Sure enough, that enabled me to add a
reference to the component in VB60. But in the VB Object Browser I cannot
see the Concat method/interface that the object implements. In fact, I
cannot see any methods or properties. What am I missing here? I really
need to be able to write some C# code that is accessible from code that is
purely .Net ignorant. I'm assuming a COM interface is my best option for
accomplishing this but am open to other/better suggestions.
--
Craig