title: Registering COM Objects in Windows 7 (64 bit)
body: <p>I seem to be running into a problem when I run a VBScript when it creates a COM object, but only on Windows 7.</p>
  
  <p>When you run the VBA Script you get:</p>
  
  <pre><code>Script: C:\Program Files\...
  Line: 2
  Char: 1
  Error: ActiveX Component can't create object: 'my object'
  Code: 800A01AD
  Source: Microsoft VBScript runtime error
  </code></pre>
  
  <p>I have used the command prompt (Admin) to register the dll with regsvr32, but when that runs I get another error:</p>
  
  <pre><code>The module "my dll" was loaded but the entry-point DLLRegisterServer was not found.
  Make sure that "my dll" is a valid DLL or OCX file and then try again
  </code></pre>
  
  <p>I am currently running Windows 7 64 Bit. The script runs on Windows XP computers, but I do not know about Windows Vista computers (there are none to test on). I used OLE-COM Object Viewer to see if it was registered, but the file wasn't shown.</p>
  
  <p>Is this a problem with Windows 7, or 64 bit machines, or a combination of both.</p>