Unable to register VB ocx components (err 0x80040201)

4

I have a problem trying to register some ocx files.

When I execute regsvr32, it returns 0x80040201 error code. I'm using win xp SP3 and my user has administrator permissions.

When I try to register them with another user on the same machine I can do it without a problem, and both users are administrators and have "total control" permissions over c:\windows\system32

Any clue of what can be going on here?

vb6
windows-xp
ocx
asked on Stack Overflow Sep 23, 2009 by (unknown user) • edited Dec 22, 2019 by tabdiukov

1 Answer

4

Could be a registry permission error or a missing dependent dll.

dependswalker can help you figure out which dlls are being used by your ocx file and processmon can show you which reg keys are being touched during registration.

answered on Stack Overflow Sep 23, 2009 by txyoji

User contributions licensed under CC BY-SA 3.0