title: VB6 Subscript out of range error at compile time
body: <p>I am using a .Net DLL in VB6 project. When I try to call a DLL method from a VB6 class, the method is available with intellisense in VB6 Editor but when I compile I get "subscript out of range" error on the method call. I think that the "subscript out of range" is a runtime error, but here i got it at compile time.
  Have you some ideas about the causes of this compile error?</p>