take a look at http://www.codeproject.com/cs/miscctrl/exposingdotnetcontrols.asp
Exposing .Net controls as ActiveX controls works, just not out of the box. basically all thats missing is a couple of registry settings. This was done intentionally since microsoft didn't want to have to gaurentee that this will work with all possible activeX hosts. However its worked fine in my experience. Ian >Can anyone say whether Microsoft plans to ever support interoping .NET >controls into legacy COM environments like (especially) VB6? This is the >single biggest roadblock preventing us from adopting .NET as a development >environment. I'm well aware that there are unsupported registry mods that >make .NET controls available to VB6, but I've tried them and it made VB >highly unstable. I'm looking for a fully-supported solution. > >We have a COM product that includes many complex ActiveX controls developed >in VB6, and we have existing customers using those controls in their VB6 >and C++/COM applications. We'd love to move our product to a pure .NET >implementation, but it would render it unusable to those existing customers >and many of them have product lifecycles in excess of 5 years so it's not >reasonable to expect them to all jump on the .NET bandwagon right away. It >would greatly benefit us to be able to take advantage of .NET for control >development, but any such benefit would be more than negated if we have to >maintain two separate code bases. So unless/until Microsoft gives us a way >to build controls in .NET that are usable in COM applications, we're stuck >building and maintaining all our controls in VB6. > >Jay > >You can read messages from the DOTNET archive, unsubscribe from DOTNET, or >subscribe to other DevelopMentor lists at http://discuss.develop.com. > > > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.