Why the interfaces (from a reference) are not accessible ?

Hello everybody,

 

 

I have created a  simple . Net project. using Visual Basic< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

...Where there are two interfaces (A and B) and a class C.

 

Interface A has been declared by myself in the *.vb file.

Interface B is a COM interface, that I have obtained from a tlb reference.

Class C implements both interfaces.

 

The problem is that after:

Signing with a strong name.

Building.

Registering and creating the type library (using regasm and gacutil).

 

I can only see the methods of the B interface (from a VBA code that use the generated type library).

 

Do you have any suggestions

Thanking in advance,

 

Eloy




Answer this question

Why the interfaces (from a reference) are not accessible ?

  • ducati1212

     

    Here the associated pseudo-code:

    import MyInterfaceLybrary
    Public MyClassC

        Implements InterfaceA

        Implements MyInterfacesLibrary.InterfaceB

    Private Function FuntionA() implements InterfaceA.Function1

    ....my code

    end function

    Private Function FunctionB() implements MyInterfacecLibrary.InterfaceB
    ...my code

    end function


    End Class

     

     

     



  • Why the interfaces (from a reference) are not accessible ?