can a vb.net dll be used in vb6?

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?

da_tibmeister:D
 
Back
Top