How To Register An Ocx File Manually

I have tried to use the following code: cd c: windows system32 regsvr32.exe dllname.ax But this is not working for me. How can I register a DLL file on Windows 7 with a 64-bit processor?

Hi,

Firstly, I would like why are you trying to install the .ocx file?
Does it throw any error while installing?
The command to unregister an .ocx file is “Regsvr32 /u <OCX File Name>” where /u means Unregister the .ocx file.

Make sure that you perform those steps from Elevated Command prompt, to launch the Elevated Command prompt: Type in Click on Start button >> Click on Run >> Type in “Cmd” (without quotes) in the Open textbox >> you should see “This task will be created with administrative privileges” >> Click on OK or press Enter.

Microsoft FlexGrid file (msflxgrd.ocx) can be unregistered, but it is recommended that you re-register it back once it is unregistered.

Hope this information is helpful.

Regards,
Chethan Kumar.

Microsoft Answers Support Engineer. Visit our Microsoft Answers Feedback Forum and let us know what you think. Microsoft-Forum Moderator
  • And, if you just copy the DLL or OCX file back where it came from the system may not recognize it even if it’s in the proper place. While this is rare, when this happens you may need to “register” the library file manually. You can find the full details about how to use the REGSVR32.EXE file at this Microsoft link.
  • How to manually register a DLL or OCX file. Click Start All Programs Accessories and right-click on 'Command Prompt' and select 'Run as Administrator' OR in the Search box, type CMD and when cmd.exe appears in your results, right-click on cmd.exe and select 'Run as administrator'.

13 people were helped by this reply

·

Did this solve your problem?

File

Sorry this didn't help.

How To Register An Ocx File Manually

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

How To Register An Ocx File Manually Windows 10

Active4 years, 3 months ago

I'm trying to view a surveillance camera system. The remote access is available through a website, and that website seems to need to download a CAB file full of goodies to let me view the cameras.

On some of my systems this install process goes over nicely.

On a few, particuarly the ones with slower Internet, I get into an endless-loop of: going to the page, waiting a long period of time (I assume this is where its downloading the CAB file), clicking yellow bar to allow it to 'Install this CAB file for all Users' and the page reloading. It never pops up with the Window saying 'Are you sure its cool to Install this stuff?'

Is there a nice way I can side-step this with a little code? I've downloaded the CAB file and extracted its contents. It's full of DLLs and a SetupScript.vbs. I've tried to just let the SetupScript.vbs run, and I've tried to manually register the DLLs with regsrv32. I've even copied the required .OCX and .INF files to the C:WindowsDownloaded Program Files and modified the registry to mimick one where the install went smoothly.

Despite this, when I visit the webpage, it still takes forever and then goes back into the loop described above.

What APIs do I need to call to 'properly' register this component so IE can see it? Or is there something more simple that I'm missing?

Could someone please point me in the right direction to solve this? The browser is IE8, the OS is Vista.

Thanks!

mrduclawmrduclaw

How To Open Ocx Files

2,6804 gold badges28 silver badges36 bronze badges

2 Answers

In Windows 7 64-bit I copied the OCX files to C:WindowsSysWOW64 and then ran:

The ActiveX plugin worked fine when I launched IE without prompting for an install.

Community
Andrew SAndrew S

Typo from above and i've noticed with some installations of Windows 8.1 you need to run regsvr32 from the sysWOW64 root folder:

How To Register An Ocx File Manually To Android

kcabramskcabrams

How To Register An Ocx

Not the answer you're looking for? Browse other questions tagged windowsinternet-explorer-8activexcab or ask your own question.