How to Overcome Regtlibv12 Error and Register a Type Library (Ole)?

I am trying to setup a vb6 environment on Windows 10 machine and use it with some ocx components.

But whenever try to use regtlibv12.exe with any of the tlb files, I get error:

RegisterTypeLib of msdatsrc.tlb failed : 8002801c

And I cannot use some of components in VB6 environment.

How to overcome this error, and what does this error mean?

1 Answer

Two suggestions:

The error is a permissions error, most likely. Make sure you opened your command prompt with admin privileges.

Searching for regtlib*.exe from the \windows folder on deeper only produced regtlib.exe on my Windows 10 machine which also has VB 6.0. I am fairly certain you can register a .tlb file with regsvr32 but you might also try the standard flavor of regtlib.exe which was in my Windows folder and dated 7/14/2000.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest