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.
Bookmark this Page!
BlinkList | del.icio.us | Digg it | Furl | reddit | Spurl | StumbleUpon |
Related Posts
- Free Up Hard Disk Space After Installing Windows Vista Service Pack 2
- Automation Error in Program Compatibility Wizard
- Determine the Target Path of Windows Installer Shortcuts
- Fix for Application Not Found Error When Opening an URL
- Fix for Event Log Service Startup Error 1079
- Error “There Is No Script Engine for File Extension” When Running .Vbs Files
- Error: Windows Cannot Find Filename When Opening .DOC Files From Windows Explorer
- Error “the Audio Service Is Not Running” When Opening the Volume Mixer in Vista
- Fix for Error “Windows Resource Protection Could Not Start the Repair Service” When Running SFC in Vista
- How to Copy Error Message Text to Clipboard
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 vista just press start\all programs\ accessories\right click command prompt \ run as adminstrator then paste this line
regsvr32.exe %systemroot%\system32\RICHTX32.OCX
and press enter
Ramesh,
Your version is older than the one dated 3/9/2004 (version # 6.1.97.82). I don’t know the differences.
Lyle
@Ramesh in Vista running the Admin command prompt did the trick thanks a lot!
@Chris To run the command prompt with admin rights in vista just Type command prompt in the search bar in the start menu then right click on command prompt and select “Run as Administrator”
I, too, have had this problem in Vista, and I have attempted to solve this using the regsvr32.exe command in the Command Prompt program, however, I still get the same message as Ross received, where the problem hasn’t been solved.
Is there any other ideas to try to solve this?
Thanks ^_^
Mention which OS you’re using, Ross. If using Vista, make sure that you run the command from an Admin Command Prompt.
Hi I really appreciate the Information. I tried to run the “regsvr32.exe %systemroot%\system32\RICHTX32.OCX” command but I get the following error. “The module “c:\windows\system32\richtx32.ocx” was loaded but the call to dllregisterserver failed with error code 0×8002801c.” Any Ideas about what I can try?
Thanks
it was success. thanks
We have an old vb application that was giving this error message for some of us on newer machines. (odd, since it had been working and all of a sudden stopped.) We followed the steps above and now it works.
Thanks!