Component ‘RICHTX32.OCX’ or one of its dependencies not correctly registered: a file is missing or invalid.
by thebzone 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.
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.

Recent Comments