title: Debugging in VB6 that references .Net dlls doesn't work but running .exe does
body: <p>I am doing maintenance on an old VB6 application that is part of a much larger and newer software system, and when I try to debug the code in the visual basic 6 IDE, the app crashes whenever it tries to instantiate a new object from any referenced VB.Net dll.</p>
  
  <p>The error message is:</p>
  
  <p><strong>Run-time error '-2147024894 (80070002)':
  Automation error
  The system cannot find the file specified</strong></p>
  
  <p>This sounds like the references are wrong, but when I run the .exe file everything works and my changes are reflected. Right now my option is to just create a lot of message boxes to debug, and I have tried removing the project references and re-adding them as well as re-registering all the dlls as well as the usual Google/StackOverflow searches.</p>
  
  <p>Am I doing something wrong, or is this crazy debug method just the fate of programmers working with ancient tech? </p>