Error with VB6 client and C# COM server

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
 
A

Alberto Poblacion

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top