Link to home
Start Free TrialLog in
Avatar of nvdbijl
nvdbijlFlag for Netherlands

asked on

How can I register the ActiveX control ImageViewer2.ocx with VFP code

To use the AxtiveX control of Image Viewer CP Pro, the ocx needs to be registered. How can I do this by running some code?
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It is better to register during installation rather than during running. Registering requires admin rights which will force your software to be run as admin.
second tushar. A second best solution is creating a setup that enforces the program to run directly after the installation (but typically the user is asked, if he wants to do so and can deny that), because then that first run is also done as admin.

If you don't have any setup and simply deploy your app and runtimes without any registration, then you should consider creating an installer.

Bye, Olaf.