PDA

Click to See Complete Forum and Search --> : OCX Registraion - Urgent


venkatraman_r
Nov 15th, 1999, 12:19 PM
Hi Guys,

My Active movie control was not working so i replaced it from an another system in which it was working.. When i try to add the copied fiel from the project->components, it says

"amovie.ocx is not registered as an activex component".

What should i do now? Any help with codes and command?

Thanx in adv.

Venkat :)

Keiko
Nov 15th, 1999, 12:46 PM
Hi venkatraman_r,

You have to un-register the old ocx and register the new one.

To un-register (in dos environment)
regsvr32 /u amovie.ocx

To register (in dos environment)
regsvr32 amovie.ocx

but let's say your amovie.ocx is in c:\windows\system, then you have to do
regsvr32 /u c:\windows\system\amovie.ocx
regsvr32 c:\windows\system\amovie.ocx

Does it help ?

Regards

venkatraman_r
Nov 15th, 1999, 01:07 PM
Hi,

Thanx for the help, but i am unable to make it...Windows gives some error saying that it could not run the regsvr32 file. Thanx anyway.. any other suggestion??

Venkat :)