Converting VB6 DLL to VBNET

I have converted a VB6 DDL, used in many Excel and Access applications, and can't use it after conversion.

I have compiled using "Register for COM Interop" option and referenced the .TLB file within Access VBA.

Access ends when I try to run it. I found that using object browser I can see all the Classes in the DLL. However, I can't see any of the methods of the Classes in the DLL.

Can someone help me with it

Thanks




Answer this question

Converting VB6 DLL to VBNET

  • technoTABLET

    Thanks for your reply John.

    They where all marked as Public but I found more related information and had to create Interfaces to make the internal methods visible as a COM module.

    Working now.



  • mmmmBeeeer

    I would check to make sure the methods are declared as Public in the Class.

  • Converting VB6 DLL to VBNET