MSComCt2.ocx run time error on only some systems

Dear Experts;

These may be two different issues with the same presentation. But as the error is identical I'm wondering if there isn't a single fix.

I have a VB6 application that runs fine on most systems.
Lately - I've been getting reports users are getting 'mscomct2.ocx is not registered or one of its dependencies is missing'.

On System 1:  Win7; 32-bit
* the app used to run fine; there have been no changes that I'm aware of.
* I distribute the app with mscomct2 into Sys32; (the distribution checks for sysWow or sysWow64)
* Mscomct2.ocx has been manually registered with regsvr32 and indicates sucess - the error persists.
* A different, recently compiled application which also uses mscomct2 does not error.
* The erroring app uses an old .dll that was compiled with mscomct2.ocx years ago (code is gone). Checking the version of prob ocx vs. the current app  mscomct2.ocx; they don't match (one is 6.01.9811; the old is 6.01.9782).
* So my answer here may be to unregister current/rename it/copy in old/register it/run program and copy & un/re-register all back to original status.

System 2 is more of a mystery.
* It was recently upgraded. I'm waiting for information as far as what that means, but I think it has been upgraded from Win7 to Win8.
* Before upgrade, the app ran fine.
* I know mscomct2.ocx doesn't come included in Win8 so I again distributed the component w/ registration.
* The user reports the error continues.
* I haven't tried manual registration on this system yet.
* I'm considering removing the controls from this app and using either a third party (I need DatePicker); or coding the datepicker functionality by hand.)
* If I go this route, a suggestion for a 3rd party DatePicker for VB6 it would be appreciated.

Any ideas on what is going on w/ this control and better ways to manage it?
Thanks
klheitz
k heitzsoftware developerAsked:
Who is Participating?

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

x
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.

Wilder1626Commented:
Hi klheitz

mscomct2.ocx error gave me a lot of heart burns since a while now. It work or doesn't work, all the time.

Since a while now, I'm using another Calendar type, using regular controls. Never failed yet.

I don't know if you can incorporate this inside your VB6 application but here is a sample of the calendar i use.
Date-Picker.zip
0

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
k heitzsoftware developerAuthor Commented:
Hi Jean-Marc -
Very clever!  I will use this code in the future.
Thank you
0
Wilder1626Commented:
I'm glad i was able to help
0
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 Classic

From novice to tech pro — start learning today.