Error with VB6 client and C# COM server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm using a VB6 client and a C# COM server. On invoking a method from the
server component,
I get an error saying:

"Run-time error '-2147024894 (80070002)':

Automation error
The system cannot find the file specified."

I've actually used the MSDN sample for COM interop:
CSharpServerWithCOMClient, just that I'm using a VB6 client instead.

Not sure what is going wrong, appreciate any help in resolving this.

TIA,
SD
 
SD said:
[...] VB6 client and a C# COM server.
[...] Automation error
The system cannot find the file specified."

It's been a long time since the last time I used a C# COM object from
VB6, but I think that that problem was solved by either installing the .Net
DLL in the GAC, or copying it to the same folder as the VB client.
 
Back
Top