Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Whether an ActiveX control is registered or not ?
Message
De
14/05/2008 15:51:41
 
 
À
14/05/2008 09:58:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01316770
Message ID:
01317142
Vues:
13
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform