When you run an application which was created in Visual Basic 6.0, the following error message may occur and the program terminates.
This happens if the program uses Rich TextBox ActiveX Control (RichTx32.ocx), but does not include the ActiveX file in the setup package.
To resolve the problem, download RichTx32.zip. Unzip the archive and extract the file RichTx32.ocx to the Windows\System32 folder.
Note that the VB6 run-time distribution package from Microsoft does not include the RichTx32.ocx ActiveX Control.
Registering the OCX file
If you still receive the error, register the RichTx32.ocx module using the following command (from Start, Run dialog):
You should see the message DllRegisterServer in C:\WINDOWS\system32\RICHTX32.OCX succeeded. after running the above command.
Related Posts
- Free Up Hard Disk Space After Installing Windows Vista Service Pack 2
- How to Determine the Program or Process That Owns an Error Message Window?
- Fix File Association Error When Launching Windows Explorer in Windows 7
- Automation Error in Program Compatibility Wizard
- Determine the Target Path of Windows Installer Shortcuts
If you enjoyed this post, make sure you subscribe to our RSS feed! We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?




For Windows 7 64bit save to C:\Windows\syswow64\ folder
Hi,
While running an application which was created in Visual Basic 6.0, an error message such as ”Component ‘RICHTX32.OCX’ or one of its dependencies not correctly registered: a file is missing or invalid.” may occur and the program terminates.
You can use the link: http://www.completepcpedia.com/fix_error_component_RICHTX32.OCX.html
and easily fix this error.
Thanks and Regards.
For 64 bit O/S take a look at the bottom of the following thread, it worked for me.
http://social.answers.microsoft.com/Forums/en-US/addbuz/thread/0b291108-c0c6-4d4b-a66d-358f1eb175b3?prof=required
it cant register “the module cant load”