You are currently offline, waiting for your internet to reconnect

Registering OCX and DLL files as System Globals

Summary
You may receive an error when installing or running an application statingthat an OCX file or a DLL file needs to be registered as system global.Make a note of the file that needs to be registered.
More information

OCX Files

  1. Start your server in VGA mode.
  2. You will need to use the Regsvr.exe, Regsvr16.exe (16-bit), or Regsvr32.exe (32-bit) command to register the OCX file as system global. These commands are included in the development kit when Visual Basic or Visual FoxPro is installed.
Depending on the application, you may have to register several OCX filesthis way.

DLL Files

To register a DLL as a system global, go to the SYSTEM32 directory andlocate the DLL mentioned in the error message. The command to register afile called Sample.dll is:
REGISTER /S SAMPLE.DLL
Registration data for a program is recognized only when the program isloaded. Therefore, if you issue a REGISTER command for a program that isalready loaded, the changes will not take effect until the next time theprogram is loaded.

Also note that only administrators can run REGISTER.
Properties

Article ID: 186597 - Last Review: 06/22/2014 18:59:00 - Revision: 3.0

  • kbinfo KB186597
Feedback