Windows App debugging vb6 dll from vb.net

I'm not having any success debugging my vb6 dll from my vb.net windows solution. I set a reference to the vb6 dll and started, then I started my vb.net app, however I'm unable to step into the vb6 dll.

gene.clauss@ips.invensys.com



Answer this question

Windows App debugging vb6 dll from vb.net

  • Robert Kozak

    I have been able to do this. Here are some things to check:

    - Ensure that you have the correct vb6 code opened in the VB6 editor and running. (Ensure that the location of the running executable is the same place that the VB.NET reference is pointing to.)

    - Ensure you have a break point set in the VB6 code. It won't automatically step into the VB6 code.

    Hope this helps ...


  • ashk1860

    The vb6 dll will have to be debugged in VB6...You can use the VB6 dll in .NET as long as it is a COM object...but it should already be debugged and ready for production use if you are intending on using it in .NET

  • Windows App debugging vb6 dll from vb.net