Microsoft KB Archive/275301

= BUG: Kodak Image Edit Controls Causes Error in Visual Basic IDE on Windows Me =

Article ID: 275301

Article Last Modified on 9/27/2004

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Professional Edition, when used with:
 * Microsoft Windows Millennium Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition, when used with:
 * Microsoft Windows Millennium Edition

-



This article was previously published under Q275301



SYMPTOMS
When you attempt to add the Kodak Image Edit Controls from the Components dialog box in the Visual Basic integrated development environment (IDE) on Windows Millennium Edition (Me), you may receive the following error message:

&quot; could not be loaded



CAUSE
The registry contains an invalid TypeLib version key.

The Windows Me TypeLib version registry key for the Imgedit.ocx file is for TypeLib version 2.2, but the Imgedit.ocx file contains TypeLib version 2.1. When Visual Basic attempts to load the control, it finds that the TypeLib versions do not match.



RESOLUTION
To resolve this problem, follow these steps:
 * 1) Click Start, click Run, and type regsvr32 /u imgedit.ocx . This unregisters the control.
 * 2) Click Start, click Run, and type regsvr32 imgedit.ocx . This re-registers the control.
 * 3) In Visual Basic, create a new Standard EXE project.
 * 4) On the Project menu, click Components.
 * 5) Click to select the Kodak Image Edit Control check box.
 * 6) Click Apply.

You can now use the control.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce Behavior

 * 1) In Visual Basic, create a new Standard EXE project.
 * 2) On the Project menu, click Components.
 * 3) Click to select the Kodak Image Edit Control check box.
 * 4) Click Apply.

Keywords: kbbug kb3rdparty kbpending kbideproject KB275301

-

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

© Microsoft Corporation. All rights reserved.