Calling a VB6 ActiveX DLL from C#

J

Jerry West

I created a basic Hello World type of function and compiled it as a VB6
ActiveX DLL in the hopes that I could call it from C#. When I try to add a
reference to the DLL in the C# IDE I get an error message stating:

The reference could not be added. Please make sure that the file is
accessible, and that it is a valid assembly or COM component.

Is it not possible to call a function within a VB6 ActiveX DLL from C#?

Thanks!

JW
 
P

Peter Morris

I presume that is "Yes" then. Sorry, I don't have any experience of COM so
that was the only thought I had on the matter.

Pete
 

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