title: DllRegisterServer failed for comct332.ocx
body: <p>I have a VB6 application I am trying to get working on a Windows 7 environment, however every time I start the application, I get the error: </p>
  
  <p><strong>"Component 'ComCt332.ocx' or one of its dependencies not correctly registered: a file is missing or invalid".</strong></p>
  
  <p>To resolve, I have tried to register the comct332.ocx file by running the regsvr32 in the Command Prompt in Administrator Mode but then I get the error:</p>
  
  <p><strong>"The module "comct332.ocx" was loaded but the call to DllRegisterServer failed with error code 0x80004005"</strong></p>
  
  <p>Other things I have tried include:</p>
  
  <ul>
  <li><p>Deleting all parent nodes in the registry where 'comct332.ocx' exists
  and running regsvr32 again in Admin Mode. Same result.</p></li>
  <li><p>I granted admin permission to another user on the PC and I could register the
  file successfully, and the application starts and runs successfully!
  However when I log in as the previous user again, it fails miserably.</p></li>
  </ul>
  
  <p>Any help, thoughts, other-things-to-try will be much appreicated. Thanks</p>