Click here to Skip to main content
15,890,399 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I know its possible to use com dll files created in vb6 but I am unable to see the public sub routines in the dll once I register and import it into my vb.net application. The vb6 dll includes 3 .bas files and one .cls file, I have noticed that I am able to see the public subs in my .cls portion of the dll but the other 3 .bas portions do not.

Do I have to make all code forms in the dll to .cls and not .bas? is there any difference when its compiled to com dll?


thank you in advance!!
Posted

1 solution

Hi, Dale,

have a check on this article: http://www.vb-helper.com/howto_net_use_vb6_dll.html[^].
That should solve your trouble.

Regards
Pandvi
 
Share this answer
 
Comments
Dale 2012 5-May-12 2:49am    
Thank you this is not a bad solution to my problem except it does not show how to access the public subs in my .bas files from the dll.

any suggestions?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900