The situation is as follows:
I have created a small class library project in C # that allows me to perform certain operations. The name of the created file is, for example, MyFirm.cs .
But since I need the component generated from C # to be reused in Visual Basic 6.0, it was necessary to create a .tlb extension file. Therefore, using some tools to generate it, I managed to create the files: MiFirma.dll, MyFirm.netmodule, MyFirm.snk and MyFirm.tlb; being the one required to use it in Visual Basic 6.0 the final file MyFirm.tlb .
Then, since I have the Visual Basic 6.0 project on my computer, I refer to the MyFirm.tlb file and it works normally.
The problem is in using only the executable generated from Visual Basic 6.0 (ex: MiFirma.exe ), supposedly referenced with MyFirm.tlb, on another computer that does not have Visual Basic 6.0 installed (that is the idea), load the application normally, but when I want to use the function of the MyFirm.tlb component, the error appears: "The ActiveX component can not create the object".
What could be happening? Because I am using the commands "regasm.exe", "regtlib.exe", I follow the steps to "create the .tlb" directly on the other computer, and nothing. Suddenly I will be doing it incorrectly.
Could you please help me! Thanks!