A dll file is an ActiveX control on one computer and cannot be registered as ActiveX on another

There is an assembly (.dll) on a Windows 7 system, 32-bit. In a VS2010 project on the Windows 7 system the assembly is referenced as an ActiveX control . The programmer has left the company and I am taking over the project. I am running Windows XP 32-bit. I copied the .dll file from the directory on his computer to the same relative directory on my computer. When I create a reference for the .dll on my computer, the reference is created as an assembly, not ActiveX. If I try to register the .dll with regsvr32, I get an error stating that the entry point was not found.
How could the same file be ActiveX on one system and not another? I have had other people check the dirextory paths to make sure I got the same file.

Any help would be appreciated.
WilliamsDigiSolSenior Systems SpecialistAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

käµfm³d 👽Commented:
Is there a .tlb file available for that component?
open command prompt.

cd C:\Windows\Microsft.NET\Framework\(version 2 or 4)

execute command:

regasm "{pathtodll\dllName.dll}" /tlb:"pathtoDLL\dllName.tlb" /codebase

See if that works.
WilliamsDigiSolSenior Systems SpecialistAuthor Commented:
There ia a .tlb file for another project in the same solution which appears to be a wrapper for the component, but no .tlb files for that component.
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

WilliamsDigiSolSenior Systems SpecialistAuthor Commented:
I got something wrong in the command and will have to play with it. I copied and pasted through Windows Explorer and get: The given path's format is not supported.
It sounds like the path is wrong.  If the DLL is in a folder in program files called "programA" and the dll name is "activeControl.dll", the command would be:

regasm "C:\Program Files\programA\activeControl.dll" /tlb:"C:\ProgramFiles\programA\activeControl.tlb" /codebase

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
WilliamsDigiSolSenior Systems SpecialistAuthor Commented:
I need a few other minor changes, but I never would have gotten there without you help.
Hope you get it all sorted.  Good luck to you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.