hi i read on a couple of sites that you can make a dll in VB.NET and reference it in vb6, does anyone know if this is possible and if so, have you any idea on how to?
thanx.
Its quite simple but you will end up with 2 dlls(COM referencer, .Net DLL)
Use the Run command in the Start Menu:
Code:
"C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Bin\tlbimp.exe" "C:\MyProject\Bin\MyProject.dll"
This will create MyProject.tlb which can be used in VB 5/6 and any other COM enabled languages(Note the .Net framework is still required to use the dll)
I have wondered this, ran acrossed this post, and tried it. The problem is I can reference the .tlb, and even see the classes, but not the public function inside the class..... Is this a rectifiable problem?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.