How do you register an ocx file in XP Pro?

KhoiFather

Platinum Member
Jun 28, 2002
2,282
0
0
When I try opening up a program, it says Component 'IMGEDIT.OCX' or one of it dependencies not correctly reigistered: a file is missing or invalid. I have that imgedit.ocx file in System folder but I guess I need to register it somehow. I'm not sure how, what can I do? Thanks!
 

KhoiFather

Platinum Member
Jun 28, 2002
2,282
0
0
Geesh this is so retarded, now it says LoadLibrary("E:\WINDOWS\system32\imgedit.ocx" failed - The specified module could not be found. I know for a fact that this file is in system32 cause I see it in there. My Drive is on E just to let you know, not C. =D Help me!!!
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
I did a little research and it appears as though imgedit.ocx is related to the Kodak Imaging program that *used* to be included with Windows. imgedit.ocx has some dll dependencies, which is probably why you can't register the file. You can copy the necessary files from another Windows box that has them installed.

Kodak Imaging - Want to use Kodak Imaging program in your XP? (Lockergnome)

1. Make a new subdirectory in 'Programs' called 'Imaging'

2. Copy into your new subdirectory 'Kodakimg.exe' from \Program Files\Windows NT\Accessories\ImageVue and the
following files from \Windows\System32:

OCKODAK.DLL
OIENG400.DLL
OIPRT400.DLL
OISLB400.DLL
OISSQ400.DLL
OITWA400.DLL
OIUI400.DLL
IMGCMN.DLL
IMGADMIN.OCX
IMGEDIT.OCX
IMGSCAN.OCX
IMGTHUMB.OCX

3. Register the OCX files in the system. If you have installed XP Powertoys do this by right-clicking the new 'Imaging' subdirectory IN THE LEFT PANE of Explorer. Click 'Open Command Window Here'. If not, then in Start/Run, type 'cmd' and navigate to the new imaging sub-directory. At the prompt type:

regsvr32 imgadmin.ocx

Repeat for:

regsvr32 imgedit.ocx
regsvr32 imgscan.ocx
regsvr32 imgthumb.ocx

(Unregistering is regsvr32 imgadmin.ocx /u)

4. Now when you double-click Kodakimg.exe the program should load ok.

5. Finally, change the association of .tif and .tiff files in WinXP Explorer to point to kodakimg.exe.

EDIT: w00t for Senior Membership! :D