Microsoft KB Archive/192944

= PRB: " Class Not Registered " Error on ImgEdit Property Page Show =

Article ID: 192944

Article Last Modified on 12/10/2003

-

APPLIES TO


 * Microsoft Visual Basic 5.0 Learning Edition, when used with:
 * Microsoft Windows 98 Standard Edition
 * Microsoft Visual Basic 5.0 Professional Edition, when used with:
 * Microsoft Windows 98 Standard Edition
 * Microsoft Visual Basic 5.0 Enterprise Edition, when used with:
 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q192944



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
 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. Choose Components from the Project menu to show the Components Dialog. Check "Kodak Image Edit Control" and click OK. Place an instance of the Image Edit control on Form1. 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".

</li></ol>

Keywords: kbregistry kbprb KB192944

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.