Before using COM objects, you must register their servers. Most are registered by
default. However, if you get a new
other object file for the server, you must register the file manually in the Windows® registry.
Use the Windows
regsvr32 command to register your file. From the Windows prompt, use the
cd function to go to the folder
containing the object file. If your object file is an
If you encounter problems with this procedure, consult a Windows manual or contact your local system administrator.
If you create a COM control using Microsoft® .NET Framework 4, use the DOS
regasm command with the
/codebase option to register your file.
To verify that a server is registered, refer to your Microsoft product documentation for information about using Microsoft Visual Studio® or the Microsoft Registry Editor programs.