MSCOMCT2.OCX registration error "ClassFactory cannot supply requestedclass"
I used the datepicker control from MSCOMCT2.OCX in Excel VBA, and I
ensure that MSCOMCT2.OCX is present and registered on each computer.
It works fine on most computers.
But now on a new computer I can't register it. When I try to register
it (with regsvr32), I get the error:
System Error &H80040111 (-2147221231). ClassFactory cannot supply
requested class
How can I get it to register? Normally regsvr32 has no problem
registering MSCOMCT2.OCX.
(I know that it is not registered because when I try to instantiate
the datepicker control, I get the error "Object library invalid or
contains references to object definitions that could not be found")
Thanks,
Greg
|