Trouble adding an active x component to a VB6 project

I have an app that I created years ago and ran on numerous machines from Win XP to Win 7 with no issues. This app contains a progress bar control. I am trying to open the project file on a win 10 64 Pro machine, but am getting an error message when the form opens:

Line 123: Class MSComctlLib.ProgressBar of control ProgressBar was not a loaded control class.

I tried to add the component from the Project>components menu item in the project editor. A pop up to find the file comes up defaulting to the system32 directory, when I type the name of the control MSCOMCTL.OCX  in the file text box it shows up, but the file is not in that folder. If I click on it, the machine hangs. I then searched and found the correct file in the sysWOW64 folder and again tried to open it to add the component control. To my surprise, the machine again hangs...

I do not know what to do next to add this control. Any ideas???
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Martin LissOlder than dirtCommented:
It always hurts me to say this since my main expertise is in VB6, but you should consider rewriting the VB6 app in a more modern language. In any case please see this thread which may help you.

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
John TsioumprisSoftware & Systems EngineerCommented:
i am under the impression that you have problem with control registration.
It should be located in the SysWow64 folder...and registered by the regsvr32 edition which is located in the SysWow64...everything else needs unregister and deletion
M_EpsteinAuthor Commented:

The control is in the SysWow64 folder. Can you please give me the exact syntax to register using regsvr32 and just what and how am I unregistering and deleting everything else?

From my research reading the threads that Martin sent, I think you are on the right track - I actually reached out to the author of one of the posts in the link, but not sure if he is still around - that post was a few years old...
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

John TsioumprisSoftware & Systems EngineerCommented:
i am writing from my cell phone so:C:\Windows\SysWow64\regsvr32 youdll.dll...first find all the others instances and try to unregister them (regsvr32 /u yourdll.dll)...regardless of the success then just delete them
M_EpsteinAuthor Commented:
All very helpful. Thank you very much!
Martin LissOlder than dirtCommented:
You’re welcome and I’m glad I was able to help.

If you expand the “Full Biography” section of my profile you’ll find links to some articles I’ve written that may interest you.

Marty - Microsoft MVP 2009 to 2017
              Experts Exchange MVE 2015
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2017
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
Visual Basic.NET

From novice to tech pro — start learning today.