How to convert .NET dll to COM dll used by VB 6.0

gvprashanth

New member
Joined
Dec 4, 2006
Messages
2
Programming Experience
Beginner
Actually i am trying to convert .net dll to COM dll in my system it is working fine but in others system it is not working even though the dotnet framework is installed in that system
i have tried using tlbexp, regasm command to convert to tlb and registerd but in others system it is giving error that something like the file not exists
Can any one please help me out in how to convert .net dll to COM which can be used in VB 6.0 of others computer
 
did you find a solution? I have had luck when regasm name.dll /tlb ; thus keeping the un-signed assembly in the same directory as the VB app. When I sign it, or place it in other directories (with the regasm name.dll /tlb /codebase) I receive the 2147024894 error as well, as well as when I install the assembly in the GAC; pretty much whenever I have a strong named assembly. Try to put it in the VB app's directory, compiling without strong name, and see what happens. ALso, if you find a solution with an strong name, please post.
 
Back
Top