Registry Errors               (Return to home page)

(The following solution is from http://social.msdn.microsoft.com)

On a Vista or Windows 7 machine:

1.  Copy whatever module file you are trying to set up to the C:\Windows\System32 directory

2.  Left click on "Start"

3.  In the bottom left-hand box type "cmd" or "cmd.exe" (without quotation marks)

4.  The top of the "Start" box should switch to "programs" and list "cmd"

5.  Right click on the "cmd" file and select "Run as Administrator"

6.  Click all the "Continue" and "Allow" buttons and a black Dos-like box will appear with  

   "C:\windows\system32>" (or whatever drive you have Vista loaded on) will appear

7.  Type "regsvr32 C:\Windows\System32\YOURFILEMODULE.XXX (the name of the module you're trying to install).

For example, to install the comdlg32.ocx runtime library in the register, type:

"regsvr32 C:\Windows\System32\comdlg32.ocx" (no quotation marks)

and hit Enter.

If all has gone well, you should see "DllRegisterServer in C:\WINDOWS\system32\comdlg32.ocx succeeded."

Back