Dll(C#) to vb6 ???

Dark Crystal

Member
Joined
Oct 1, 2003
Messages
10
Hi every1

i hav created dll( as references) by C# ,,
it passable use it for vb6 ? if it, then how

thanx
 
Last edited by a moderator:
from your .net command promt you can do this , but its not really advisable to use .net dlls in vb6.
open the .NET command promt
put the following in...
PHP:
"C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Bin\tlbimp.exe" "C:\Path of your app\Name of your DLL.dll"
you should find the vb6 version of your dll / typelib in the "C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Bin" folder if you are converting a valid dll.
 
ya its work and the result was(.tlb)

but it (the library) lost (almost) classes
that mean the classes r empty

is there another way ?
like how to make wapper for vb6 from my c# library


thanx alot
 
Back
Top