title: Making .NET assembly COM-visible and working for VB5
body: <p>I have an assembly which I have managed to make visible to VB6 and it works, but having a problem accomplishing the same thing with VB5.  </p>
  
  <p>For VB6, I have built the assembly, made it COM-visible, registered it as a COM object etc., and the assembly shows in VB6's References list, and allows me to use it successfully.  The Object Browser also shows the method in the assy.  I copied the assembly and its TLB to a virtual workstation used for VB5 development, and ran Regasm, apparently successfully:</p>
  
  <pre><code>C:\&gt;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
  \regasm arserviceinterface.dll /tlb:arserviceinterface.tlb
  Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.3053
  Copyright (C) Microsoft Corporation 1998-2004.  All rights reserved.
  
  Assembly exported to 'C:\Projects\AR\3rd Party\ARService\arserviceinterface.tlb'
  , and the type library was registered successfully
  </code></pre>
  
  <p>Note that the virtual W/S is Win2k and does not have .NET Fx 3.5 on it, just 2.0.</p>
  
  <p>The assembly shows up in the References that can be selected in VB5, but the method of the assembly doesn't show up in the Object Browser, and it is generally unusable.  Either there is a step to do that I haven't done, or VB5 doesn't know how to use such a COM object.  Note that the VB5 setup is on a virtual workstation, not the same workstation that VB6 is installed on.  </p>
  
  <p>Any ideas?  One thing that occurred to me is that I might need to generate and use a strong name on the workstation in question, but...</p>