You may find that when you try to register an ActiveX component such as AsiWordInt.ocx, an error is shown,”DllRegisterServer in xxxx.dll failed.Return code was:0×80070005″.
0×80070005 means “Access Denied”, even if you are already an administrator user.
Here is the correcy way to do this:
To register activex control to local machine(not only current user) successfully, developers must right click on “Command Prompt” in Accessories and click “Run as Administrator”, then run “regsvr32 foo.dll” in the command window.
It’s due to Vista’s new security features.