title: "Object library not registered" when adding Microsoft Rich Textbox Control 6.0 (SP6)
body: <p>I try to add <code>Microsoft Rich Textbox Control 6.0 (SP6)</code> control via <em>Project -> Components...</em> in VB6 IDE. The control is present in the list of controls. When I tick it and click OK/Apply, I get <code>Object library not registered</code> error:</p>
  
  <p><img src="https://i.stack.imgur.com/8DeIX.png" alt="VB6 IDE Object library not registered error"></p>
  
  <p>Environment is Windows 7 SP1 x64 with latest updates, VB6 SP6 + KB957924. <code>richtx32.Ocx</code> is present in <code>C:\Windows\SysWOW64\</code>. </p>
  
  <p>I tried re-registering .ocx by running this in elevated command prompt:</p>
  
  <pre><code>cd c:\windows\SysWOW64
  regsvr32 /u richtx32.Ocx
  regsvr32 richtx32.Ocx
  </code></pre>
  
  <p>Registration completes successfully, but doesn't resolve the problem.</p>
  
  <p>When I look at what's going on under the hood with <a href="http://www.rohitab.com/apimonitor" rel="noreferrer">API Monitor</a>, the most recent suspicious call is <code>LoadRegTypeLib ({7c0ffab0-cd84-11d0-949a-00a0c91110ed}, 0x0001, 0x0000, LOCALE_NEUTRAL, 0x0018e82c)</code> that returns <code>TYPE_E_LIBNOTREGISTERED</code>.</p>