registered for COM Interop -- installing on another machine
Posted on 2007-11-17
I've written a class in c# that exposes some methods to COM clients. I've got this working just fine on my own machine. However, when I deploy my application, the COM goo doesn't seem to work out right.
On the target (installed) machine, I can set a reference to the .tlb (in VB). And, that appears to make the types available in VB's object browser. And, I can instantiate the object without seeing an error. However, when I go to call a method on that object, it throws an error saying, "The system cannot find the specified file".
I have verified that, when calling the same method from a .Net client on the target (installed) machine, that no such error is generated. So, I'm thinking that this has to be the interop goo not being able to find the implementation of the type in the .tlb.
My fundamental question is, "What's wrong? What do I need to do to get this component usable by VB6 on an install machine?" But, I'll accept specific troubleshooting advice as well.