Article ID: Q187976
The information in this article applies to:
Attempting to run a form that uses the Rich TextBox control results in the following error message:
OLE Error Code 0x80040154. Class not registered.The registry entries, classid and GUIDs, are correct. Additionally, efforts to unregister and re-register the Rich TextBox control do not make a difference.
The Rich TextBox control used in the form requires a more recent version of the Oleaut32.dll file.
You need to obtain and run the Oadist.exe file. This file is available from the Microsoft Software Library and is included in the RegClean 4.1a download file.
NOTE: The Oadist.exe setup program does not work on Windows NT 3.51. If you need to install the updated Automation system files on Windows NT 3.51, you should download the Oadist2z.exe file.
This behavior is by design.
The ActiveX control is Richtx32.ocx version 5.01.4319. The exact error message that occurs follows:
OLE Error Code 0x80040154. Class Not Registered. OLE Object is Being Ignored. Record # 29 and record # 65.The newer version 2.20.4054, or later, of the Oleaut32.dll is needed (because of a call it makes to examine type library information) for the Rich TextBox control version 5.01.4319 to work properly.
The original release of the Windows 95 operating system has an older version of Oleaut32.dll that works with an older Rich TextBox control.
1. Obtain the original Windows 95 Oleaut32.dll file version and copy the
file to the Windows System folder.2. Obtain version 5.01.4319, or later, of the Rich TextBox control.
3. Create a Visual FoxPro form and add a Rich TextBox Control.
4. Run the form and the error occurs.
Visual FoxPro Help; search on: "ActiveX Controls Overview"
For more information about obtaining the Oadist.exe file from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q164529 TITLE : FILE: Updated Automation System FilesAdditional query words: kbDSupport kbdse Rich Text Box RichText Box kbAutomation kbContainer kbCtrl kbDCOM kbOLEapp
Version : WINDOWS:3.0,3.0b,5.0,5.0a Platform : WINDOWS Issue type : kbprb
|
Last Reviewed: June 22, 1998 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |