The Solution - at least for me.
ANY lengths to NOT use any ActiveX controls in my databases.
I know I know. Thanks for writing and showing your support in my time of "shit I think I have stuffed my registry". It is to late for me but maybe one day I will take these off and put in a non active x control.
Things are just too "fragile" around that and not all users might have them and even if they do, sometimes there are problems.
This is right.
So to make this thread complete here is one solution (it might not be THE solution) but it worked for me. Do all these things with caution as you are playing with fire at a gas station (tankstelle, servo) whenever you do things with the windows registry.
First you must recognise the problem which we are solving. You have deleted a .dll or .ocx without unregistering it and then added the file again (maybe an older or newer version) and registered it. Or a program has registered the same .dll or ocx twice.
You are then getting an error when you try to use the ActiveX control on your MSAccess forms. Like what I have detailed in previous posts.
Most likely the problem is that your registry has multiple entries of the same .dll or ocx. To establish this fact I did a little search of my registry and found out what I have showed in the previous posts. You will also find things on the internet about this as well.
One solution here (once again this is what I did I am not recommending it as THE solution) is to use a registry cleaner like RegClean. I first had to delete these files from my System32 folder and then let the regclean, clean my registry. It found the multiple entries in the registry and tagged them for deletion. I accepted the recommendations of RegClean (but do not do this blindly).
I then rebooted.
I then put my .OCX mscomct2.ocx back in System32 and registered it from the CMD with "regsvr32 <pathtoocx>.
When I opened MSACCESS the problems I outlined above were GONE. YEH. But this introduced a new problem. Access said that the OLE Server was not registered and to reinstall it. I did this and nothing worked.
So doing some more reading you will find that mscomct2.ocx and mscomctl.ocx seem to be related. In may case I had STUPIDLY deleted my original OCX's. But for good measure anyway I thought I would get the newest versions from Microsoft.
Check the OCX's for these files are not in your system32. Do another RegClean which deletes the references to these files. (just in case they are still there)
Then I "installed" the below.
http://www.microsoft.com/downloads/...98-51D0-41C1-BB14-64662F5F62FE&displaylang=en is for the mscomctl.ocx
http://support.microsoft.com/kb/297381 for mscomct2.ocx
Reboot.
Then they work in MSACCESS again. YEH