how to register an .ocx file in windows XP?

THELAIR

Golden Member
Oct 9, 1999
1,493
0
0
In order to run an applicatoin it is saying that blahblah.ocx is missing and not registerd. I have placed the .ocx file in the windows folder, /windows/system folder and /windows/system32 folder, and the folder where the application that is requesting it is located.

But I dont undertsand this "register" thing. Do i have to hard edit into the windows registry? How do i do that? Never done that before.

Any help would be appreciated.

double clicking on hte ocx file in windows xp just brings up a "what would you like to open this file with" prompt.

someone said to load regsvr32.exe and do that...but do what? there is no regsvr32.exe in my windows xp partition, but there is for win2k.

Very confused...

any help appreciated

thanks
 

Lord Evermore

Diamond Member
Oct 10, 1999
9,558
0
76
just open a command prompt and type "regsvr32 <dllname>" and replace <dllname> with the name of the ocx file (should only be needed in one folder, and you'll need the path to it most likely). That registers the file as one of the system files so that applications can locate it.

You can also unregister files by adding a /u to the command. Just typing regsvr32 pops up a dialog telling you the options.