J
Jon
I have created a class library in v 2.0. I have set the COM Visible
attribute to True. Register for COM Interop is also checked in the IDE.
I need to use the DLL from a VB6 application, so on the dev machine with VB
6, I ran regasm /codebase. I was then able to add a reference to the DLL and
code against it. It runs fine and uses the .Net DLL perfectly.
Now, I am trying to get the compiled VB 6 application to work with the DLL
on another machine (a deployment test box). I ran regasm /codebase on the
dll. But, it doesn't work. It gives me the following error, "Class does not
support Automation or does not support expected interface". I never got this
error during development at all. I also tried regasm /tlb on the deployment
box, but that does not change anything.
What could be wrong?
Thanks!
attribute to True. Register for COM Interop is also checked in the IDE.
I need to use the DLL from a VB6 application, so on the dev machine with VB
6, I ran regasm /codebase. I was then able to add a reference to the DLL and
code against it. It runs fine and uses the .Net DLL perfectly.
Now, I am trying to get the compiled VB 6 application to work with the DLL
on another machine (a deployment test box). I ran regasm /codebase on the
dll. But, it doesn't work. It gives me the following error, "Class does not
support Automation or does not support expected interface". I never got this
error during development at all. I also tried regasm /tlb on the deployment
box, but that does not change anything.
What could be wrong?
Thanks!