Re: .Net Interop With COM and ActiveX error
From: Phil Wilson (Phil.Wilson_at_unisys.spamcom)
Date: 10/13/04
- Next message: Mark Urish: "RE: Removing Office XP PIA"
- Previous message: Daryn Kiely: "Interop and enumerations"
- In reply to: JC: ".Net Interop With COM and ActiveX error"
- Next in thread: JC: "Re: .Net Interop With COM and ActiveX error"
- Reply: JC: "Re: .Net Interop With COM and ActiveX error"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 13 Oct 2004 13:34:10 -0700
The VB6 DLL is still a legacy COM server that needs registering on the
client system. .NET COM Interop still means that the original COM DLL needs
registering with regsvr32 or equivalent.
-- Phil Wilson [MVP Windows Installer] ---- "JC" <JC@discussions.microsoft.com> wrote in message news:82DF2A5A-98D0-4EFB-8A75-37DB1A3CE821@microsoft.com... > On my development PC, which is the machine that i 'build' my .net project, I > have successfully exposed my .net dll to my vb6 application. > > I have then used regasm to register my .net dll on another PC (#2) that has > the .net framework and the VB6 project(regasm myProject.dll /tlb: > myProject.tlb). I am able to reference the .tlb in my vb6 application. I'm > able to see it's methods and write my code. But when I run the vb6 app on > this #2 PC, I get "ActiveX component cannot create object" error when i try > to invoke any of the methods of my .dll. > > I've run the the Tutorial offered by Gene Trussell "Step-by-Step: Implement > Interoperability for a .NET DLL" and confirmed my .net dll is setup correctly > and I'm registering it correctly. > > I'm just spinning my wheels and I bet there's a simple > answer.!!?? > > Thanks for any and all help. > JC > >
- Next message: Mark Urish: "RE: Removing Office XP PIA"
- Previous message: Daryn Kiely: "Interop and enumerations"
- In reply to: JC: ".Net Interop With COM and ActiveX error"
- Next in thread: JC: "Re: .Net Interop With COM and ActiveX error"
- Reply: JC: "Re: .Net Interop With COM and ActiveX error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|