Deploying ActiveX Controls
Go Up to Using Installation Programs
ActiveX controls that you create need to be registered on the deployment computer before use. Installation programs such as InstallAware Express automate this registration process.
To manually register an ActiveX control, do one of the following:
- In the IDE, choose either:
- Run > ActiveX Server > Register
- Run > ActiveX Server > Register for Current User
- Use the RAD Studio utility TRegSvr.exe (installed in your product installation
\bin
directoryC:\Program Files (x86)\Embarcadero\Studio\20.0\bin
).
- Click Start | Programs | Embarcadero RAD Studio Rio | Samples and navigate to the
Object Pascal\VCL\TRegSvr
directory to find the TRegSvr sample (see Code Examples and Application Samples).
- Use the Microsoft utility REGSVR32.EXE (not included with Windows 9x versions).
Note: You also need to distribute with your application any DLLs that support an ActiveX control.