The BZone

Component ‘RICHTX32.OCX’ or one of its dependencies not correctly registered: a file is missing or invalid.

by on Feb.18, 2012, under Windows OS Tricks & Tips, Windows Server 2003, Windows XP

Component ‘RICHTX32.OCX’ or one of its dependencies not correctly registered: a file is missing or invalid.

When you run an application created in Visual Basic 6.0,  you get the above error message and your program terminates.

Thisis because your program uses Rich TextBox ActiveX Control (RichTx32.ocx), which is not included in the ActiveX file in the setup package.

To resolve the problem, download the RickTx32.ocx file and copy it to the Windows\System32 folder.

http://www.thebzone.com/wp-content/uploads/2012/02/RICHTX32.zip

Remember that the VB6 run-time distribution package from Microsoft does not include the RichTx32.ocx ActiveX Control.

If you still receive the error, you need register the RichTx32.ocx module.

Go to  Start-> Run.

Enter in the box regsvr32.exe %systemroot%\system32\RICHTX32.OCX

You’ll get a message DllRegisterServer in C:\WINDOWS\system32\RICHTX32.OCX succeeded. once registration is complete. Now your program will work without getting this error.

qrCode
EmailGoogle GmailOrkutFacebookShare
:, ,

Leave a Reply

You must be logged in to post a comment.

Powered by The BZone Team

Visits Since 90 days

Flags Countries V (%) PV (%)
United States 35 % 32 %
India 13 % 19 %
United Kingdom 9 % 8 %
Canada 3 % 3 %
Australia 3 % 2 %
Indonesia 2 % 2 %
Netherlands 2 % 2 %
France 2 % 2 %
Italy 2 % 1 %
Total Countries: 66
Total Visits: 604