Page 1 of 1

Unable to register EditCtlsU.ocx, but all others work fine

Posted: 11 Jun 2015, 15:44
by hermie
Hello!

I have re-installed Windows.
I have then re-registered all my timosoft controls.
I backed them up before the re-installation of Window, so I did not use any new version of them.

They all registered fine, but not EditCtlsU.ocx.

If I try to register them using regsvr32.exe, I get the error message

"The module ''editctlsu.ocx" was loaded, but ''DllRegisterServer'' failed with exit code 0x8007005".

Because this seems to be a permission error, I created a new folder, downloaded the latest version of EditCtlsU.ocx (Unicode) and unpacked them to this new folder, just to make sure I have sufficient privileges.

But that did not change anything.

Is that perhaps related to a C++ library that could be missing on my system, or do you have any other idea how to resolve this problem?

Re: Unable to register EditCtlsU.ocx, but all others work fine

Posted: 11 Jun 2015, 16:10
by hermie
Hmmm, perhaps I need to install a VB6 service pack first. I will try that.

Re: Unable to register EditCtlsU.ocx, but all others work fine

Posted: 11 Jun 2015, 17:07
by hermie
Oh yeah, did that the job.
After installing of the latest 2 service packs, it registered it.

Re: Unable to register EditCtlsU.ocx, but all others work fine

Posted: 11 Jun 2015, 20:35
by TiKu
Hi,

I saw this thread only now. Glad you sorted it out already, but it's a bit strange that installing the VB6 SP did fix it. The controls are written in Visual C++ and should not have any dependency on VB6 components. Maybe the SP did also update some system component.

Regards
TiKu

Re: Unable to register EditCtlsU.ocx, but all others work fine

Posted: 11 Jun 2015, 21:24
by hermie
Yes, it's strange.

Are you making anything different in EditCtlsU compared to your other controls which registered just fine before the SP update?

Re: Unable to register EditCtlsU.ocx, but all others work fine

Posted: 11 Jun 2015, 21:57
by TiKu
Well, on registration it executes "regtlib.exe msdatsrc.tlb" to make data-binding work again which has been broken by a Windows Update more than two years ago. But most of my other controls do this as well. I'm not aware of any other difference.
You're using the latest release of EditCtlsU.ocx, right?

Re: Unable to register EditCtlsU.ocx, but all others work fine

Posted: 11 Jun 2015, 22:57
by hermie
Yes.