How to Register OCX dll Files

Go to Control Panel > User Accounts and Family Safety > User Accounts and there click Turn User Account Control on or off. Unselect Use User Account Control (UAC) to help protect your computer option and click OK. That’s it. Now try to register your DLLs and you would be able to do that without any hiccups.

Disable UAC:
C:WindowsSystem32cmd.exe /k %windir%System32reg.exeADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPolicies System /v EnableLUA /t REG_DWORD /d 0 /f

Enable UAC:
C:WindowsSystem32cmd.exe /k %windir%System32reg.exeADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPolicies System /v EnableLUA /t REG_DWORD /d 1 /f

Reboot your system and you are done.

And if you are getting this error while registering your DLLs –
The module REGSVR32 “C:\Program Files\xxx.dll? failed to load.

The module REGSVR32 “C:\Program Files\xxx.dll? failed to load.
Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files.
The specified module couldn’t be found.
.
(I don’t know why that extra dot in the end – may be UI bug from Vista team!)

It means you are not giving proper path. Try to correct the path for your DLL and you will be able to register it.

~ ni bugzlife69 sa Pebrero 10, 2012.

Mag-iwan ng Tugon

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Palitan )

Twitter picture

You are commenting using your Twitter account. Log Out / Palitan )

Facebook photo

You are commenting using your Facebook account. Log Out / Palitan )

Google+ photo

You are commenting using your Google+ account. Log Out / Palitan )

Connecting to %s

 
%d bloggers like this: