General information
Category:
ActiveX controls in VFP
>I> have an applicatyion which uses CHARGE.OCX, an ActiveX control by PC-Charge for payment processing. This control gets coppied to window's system32 directory and registered by using regsvr32 command. Once registered, i works fine through a VFP application.
>>
>>How can I tell proramatically, whether this control exist and/or registered ?
>>What will be the command syntax ?
>
>That won't work on Vista systems because registering an ActiveX control requires elevation to admin status. The best approach is to install and register the control in your installer, which asks the user for elevation automatically.
I have had problems in Vista registering ActiveX controls with just running the installer and then allowing when asked for elevation. I found that if the program is Right-clicked in the explorer window, on the context menu, select "Run As Administrator" it will work properly.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only