Found on web forum :
If you receive the error code 0x80004005 when using regsvr32.exe, it can be caused by these known reasons:
- You are not an administrator of your machine or a power user. For example, using Windows XP, a user member of the "Users" group will not be able to register the add-in, while a user member of the "Advanced Users" will succeed.
- Your installation of VB5 / VB6 / VBA / Office is corrupted (this is a very rare case). According to reports of users, reinstalling Visual Basic (or simply the last service pack that you were using) or Office should fix the problem.
If you want to register the add-in for a non-admin user, you have 2 options:
Add the non-admin user to the "Administrators" group, log-on with that user, register the dll with regsvr32.exe and remove that user from the "Administrators" group.
Register the add-in using an admin user (that will register the dll as COM component in the machine) and using regedit.exe export (File, Export... menu) the following registry key to a .reg file:
- For Visual Basic 6.0: HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0\AddIns\MZTools3.Connect
- For VBA: HKEY_CURRENT_USER\Software\Microsoft\VBA\VBE\6.0\AddIns\MZTools3VBA.Connect
Then, log-on using the non-admin user and import or merge the .reg file into the Windows registry. That will register the dll as add-in for the non-admin user.