This article was previously published under Q267279
Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
Regsvr32.exe is a program that you can use to register dynamic-linklibraries (DLLs) and ActiveX controls (formerly called OLE Custom Controls)in the registry. For example, to manually register the Sample.ocx ActiveX control, you would type the following at the command prompt:
NOTE: This command line assumes that Regsvr32.exe and Sample.ocx are both in the root folder of drive C.
Regsvr32.exe has the following command line switches:
/u - Unregister server /s - Silent; displays no message boxes /c - Console output
Regsvr32.exe is contained within a self extracting .exe file calledRegsv32a.exe.The following file is available for download from the Microsoft Download Center:
The Regsv32a.exe file contains the following files:
Regsvr32.exe The Regsvr32.exe application. Regsv32a.txt A text file containing information and instructions.
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.