Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Whether an ActiveX control is registered or not ?
Message
From
14/05/2008 15:51:41
 
 
To
14/05/2008 09:58:37
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01316770
Message ID:
01317142
Views:
12
>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
Map
View

Click here to load this message in the networking platform