>I would like to know if the following is possible:
>
> create a component using C# or VB.NET -> component will use the
> .netframework v2
> create a VB (NONE .net) COM object that uses the above created
> component
It is possible, .NET objects can be used from COM.
> And if this is possible are their any pitfalls that we should be aware
> off?
The first such component loaded into the process will determine the .NET
runtime version used for all subsequent components.
Dirk B - 18 Oct 2007 16:00 GMT
Thanks for the answer.
Can this .NET component also be used from within a VB6 application/service
(instead of from a COM written in VB6)?
dirk.
>>I would like to know if the following is possible:
>>
[quoted text clipped - 10 lines]
> The first such component loaded into the process will determine the .NET
> runtime version used for all subsequent components.
Ben Voigt [C++ MVP] - 18 Oct 2007 16:25 GMT
> Thanks for the answer.
> Can this .NET component also be used from within a VB6 application/service
> (instead of from a COM written in VB6)?
Should work, same concern if mixing components from different versions of
.NET
VB6 uses COM natively, not just for COM servers.
> dirk.
>
[quoted text clipped - 12 lines]
>> The first such component loaded into the process will determine the .NET
>> runtime version used for all subsequent components.