Use a . tlb that has a dll . net dependency

Asked

Viewed 253 times

1

I have developed a library that uses dll itextsharp, however this library I wrote in VB.Net will be used in a VB6 program and therefore it is necessary to generate a tlb of the same.

The doubt remains, because despite generating a tlb of my lib, I don’t know what you provide regarding addiction.

  • 1

    See help: http://answall.com/questions/47254/com-interop-com-client-e-server/47328#47328 @Cleiton-ribeiro

  • All this process I already know... I already have a . tlb of my class, however it has a dependency . DLL in c# and do not know what to do with this dependency.

  • 1

    @Cleitonribeiro Have you tried to put this DLL in directories visible by the environment variable PATH?

  • Will be if not missing register? regasm.exe SuaDLL.dll /register /codebase /tlb

  • The tlb was already registered... I actually realized that the problem was the parameters of the class accessed. Because the Vb.net string array is different from the VB6 string array, but I know there is a way to use VB.net types in vb6. You know how to do it?

  • Then already changes the focus of the question, would have to edit and put the code in both VB and C# to facilitate understanding. @Cleitonribeiro

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.