Link to home
Start Free TrialLog in
Avatar of Miguel Quintana
Miguel Quintana

asked on

C# or VB.NET class to be referenced from VB6.0 SP6

Hi guys,

I wonder how to create a C# or VB.NET Class with Framework 4.0  and reference it from a VB6.0 application in order to use call its methods.  I tried by using a COM interface but couldn't integrate it

I have investigated for some time about this and didn't find the solution so I decided to use a .exe file and pass some argumets() then return the results in a text file :/

I appreciate a clear solution on this


Thank you
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

You can do it but you need to make sure that your .Net component is COM-visible.

have a look at https://msdn.microsoft.com/en-us/library/ms973802.aspx
ASKER CERTIFIED SOLUTION
Avatar of Najam Uddin
Najam Uddin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Miguel Quintana
Miguel Quintana

ASKER

Thank you,  I will follow these instructions and let you know if that works. I remember I applied a similar procedure some years ago
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.