Using
VB.NET 2003 on XP SP1 - Created MegaCalculator2 and MeanCalculator3 projects and added to a solution. Compiled, did not change any assemblyinfo.
vb etc.
Used RegAsm to create and received output as follows:
.\VBProjects\TestMeanCalc\TestMeanCalc\MeanCalcula tor3\obj\Debug>regasm MegaCal
culator2.dll /tlb:MegaCalculator2.tlb
Microsoft (R) .NET Framework Assembly Registration Utility 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
RegAsm warning: No types were registered
Assembly exported to 'H:\VBProjects\TestMeanCalc\TestMeanCalc\MeanCalcu lator3\ob
j\Debug\MegaCalculator2.tlb', and the type library was registered successfully
.\VBProjects\TestMeanCalc\TestMeanCalc\MeanCalcula tor3\obj\Debug>regasm MeanCal
culator3.dll /tlb:MeanCalculator3.tlb
Microsoft (R) .NET Framework Assembly Registration Utility 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Types registered successfully
Assembly exported to '.\VBProjects\TestMeanCalc\TestMeanCalc\MeanCalcul ator3\ob
j\Debug\MeanCalculator3.tlb', and the type library was registered successfully
I then copied the .tlb and .dll files to my project file on VB6 machine and created the example Calc.exe application. I added my .tlb files as references and upon executing the line that reads as follows:
Set mobjCalc = New MeanCalculator3.MeanCalc
Throws a Run-Time error '429': ActiveX component can't create object.
I've tried regsvr32 to register the .dlls and got invalid entrypoint registration errors.
What should I try next? Probably missing some small detail. Any suggestions?
Clifford B Thomas