DOCUMENT:Q192944 21-SEP-1998 [vbwin] TITLE :PRB: "Class Not Registered" Error on ImgEdit Property Page Show PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:5.0 OPER/SYS:WINDOWS KEYWORDS: ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 5.0 on the following platform: Win98 --------------------------------------------------------------------- SYMPTOMS ======== Using Windows 98 and Visual Basic 5.0 SP3, attempting to bring up the custom property page for the Kodak Imaging Controls results in the following error: "Class not registered: Looking for object with CLSID 0BE35201-8F91-11CE-9DE3-00AA004BB851". CAUSE ===== This CLSID corresponds to the stock "Color Property Page" found in MFC42.DLL. The DLL that contains this property page has not been registered correctly. RESOLUTION ========== Using REGSVR32.EXE as follows to unregister and then re-register MFC42.DLL will place the correct entries into the system registry and allow the property page for ImgEdit, which makes use of the stock Color Property Page, to be displayed: Unregister MFC42.DLL as follows: regsvr32.exe -u MFC42.DLL Re-register MFC42.DLL as follows: regsvr32.exe MFC42.DLL STATUS ====== Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION ================ This is a problem for any Kodak Imaging Control that makes use of the stock Color Property Page. These are: ImgThumbnail ImgAnnTool ImgEdit Steps to Reproduce Behavior --------------------------- 1. On a freshly-configured machine with Windows 98 and Visual Basic 5.0 SP3, create a new Standard EXE project. Form1 is created by default. 2. Choose Components from the Project menu to show the Components Dialog. 3. Check "Kodak Image Edit Control" and click OK. 4. Place an instance of the Image Edit control on Form1. 5. Alternate-click and select "Properties." If MFC42.DLL is not properly registered, you see the following message dialog box: "Class not registered: Looking for object with CLSID 0BE35201-8F91-11CE-9DE3-00AA004BB851". Additional query words: kbDSupport kbDSD kbVBp kbVBp500 kbRegistry ====================================================================== Version : WINDOWS:5.0 Platform : WINDOWS Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1998.