title: regsvr32 file was loaded but the entry-point dllregisterserver
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4198583/how-do-i-register-a-com-dll-written-in-c-sharp-with-regsvr32">How do I register a COM DLL written in C# with Regsvr32?</a>  </p>
  </blockquote>
  
  
  
  <p>I have written a DLL in C# (.Net 4 using VS2010). I have ticked the boxes to make it COM visible  and register for COM interop. I then saved the DLL and associated files to the c:\Program Files\MyCode directory.</p>
  
  <p>When I run regsvr32 for the DLL (I want to use it in an Excel VBA project), I get the above error message. I am running Windows XP with SP3. I have searched on the other threads with the same problem but have not found anything useful.</p>
  
  <p>Any thoughts would be appreciated.</p>
  
  <p>John.</p>