COM (VB6) interop with .NET assemblies

From: Raghu (rraghur_ng_at_yahoo.com)
Date: 12/24/04


Date: 23 Dec 2004 23:25:11 -0800

Hi,

I need to build an offline client hosted in outlook. As we need to
support outlook 2000+, we will have to write COM add-ins in VB6 or VC++
ATL.

However for the framework that implements the offline functionality, we
would like to use .NET (the Smart Client application block as a
building block)

I would like to know if there are any security issues with

1. Using interop to call .NET managed assemblies.
- front end VB6 add-in forms calling .NET f/w assemblies

2. The VB6 add in DLLs will be signed and certified. But the .NET
assemblies referred to by the VB6 DLL - does it need to be signed AND
certified or does just signing work?

3. Are there any pointers/links/refs to security issues when calling
.NET assemblies from COM components (as the two security models are
different?)

Thanks!
Raghu



Relevant Pages

  • Cannot debug interop
    ... We have a VB6 application that performs late-binding on a .NET ... interoperable component. ... Our component is invoked as in-proc process. ... - the assembly containing the component references other assemblies. ...
    (microsoft.public.dotnet.framework.interop)
  • Unable to debug interop
    ... We have a VB6 application that performs late-binding on a .NET ... interoperable component. ... Our component is invoked as in-proc process. ... - the assembly containing the component references other assemblies. ...
    (microsoft.public.vsnet.debugging)
  • Re: Creating COM Objects or Add-Ins from VBA
    ... I have several pages related to writing COM Add-Ins using VB6. ... Pearson Software Consulting ... Excel, hence my desire to create a COM add-in. ...
    (microsoft.public.excel.programming)
  • Re: Assembly load & object creation behavior
    ... we have been transforming from VB6 ... how we may overcome this load time? ... with the above example of two assemblies. ...
    (microsoft.public.dotnet.framework.performance)
  • object doesnt support this property or method
    ... I have created a .NET assembly that exposes a simple class containing two ... I want to consume this class from a VB6 application. ... not picking up that the COM interface has changed. ... assemblies that are going to be exposed as COM objects? ...
    (microsoft.public.dotnet.framework.interop)