title: Problems adding a COM component reference to a VB.NET project
body: <p>I have a third party COM dll that I'm trying to add to a vb.net (2008 express) project. I put the dll in C:\WINDOWS\system32\ and registered it with "regsvr32 vxncom.dll". When I go to projects > add reference and go to the COM tab it shows up in the list of available components/libraries. But, when I select the library and hit ok, visual studio complains: "A reference to 'vxncom 4.0 Library' could not be added. Could not register the ActiveX type library 'C:\WINDOWS\system32\vxncom.dll'."</p>
  
  <p>The project I am doing this in is an example provided by the folks who distribute the dll. The component also fails to be added when I start a new (blank) vb.net project.</p>
  
  <p>UPDATE 1:</p>
  
  <p>I ran dependency walker on the dll in question and here's what I got in the error log:</p>
  
  <p><strong>Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.</strong></p>
  
  <p>The module in question seems to be libeay32.dll, but it already exists in C:\WINDOWS\system32.</p>
  
  <p>UPDATE 2:</p>
  
  <p>I went to the <a href="http://www.slproweb.com/products/Win32OpenSSL.html" rel="nofollow noreferrer">openssl site</a> and downloaded and used their installer to update the libeay32.dll. I ran dependency walker again on vxncom.dll, and there were no errors. Went back to visual studio and it still didn't want to add the reference. Exact same error as before.</p>