My OS is Windows 10 Pro 64bit version 1909.
My Office version is 2013 pro (32bit)
I have a VBA project that contains few modules and userforms.
Two days ago something happened and the project cannot run the userforms that contain the monthview control.
I don't know the reason, but I think it's related to "Mscomct2.ocx & mscomctl.ocx"
The project still works fine on other PCs, with the same hardware and Office version.
The first error is "classfactory cannot supply requested class".
The second error is "system error &H80040111 (-2147221231)" and "Out of memory"
I searched for hours in google and other forums and still couldn't solve the problem.
I tried to repair the Office & uninstall and install few times without success.
I copied the ocx files from a PC where the code ran fine and pasted in C:\windows\syswow64.
I used "Regsvr32" command as administratorregsvr32 "C:\windows\syswow64\mscomct2.ocx" regsvr32 "C:\windows\syswow64\mscomctl.ocx"
I got a confirmation message but the errors still appears.
I tried also to do some registry changes.
I search in the registry for "C:\windows\syswow64\mscomct" and compared 2 of my computers.
I changed everything like the PC where the code runs fine. now i get 2 other errors:Class Not Registered
Could not load an object because it is not available on this machine
I hoped you guys could help me to solve the errors.