Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dealing with and ActiveX control at run time?
Message
De
20/04/2007 11:44:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01218239
Message ID:
01218342
Vues:
17
>>
>>Try and create an instance of the control using CREATEOBJECT() and do this from inside a TRY CATCH ENDTRY construct. Then you can test whether its possible to instantiate the control or not and take appropiate action.
>
>Jos,
>
>Thank you for the suggestion. This may well work.

Dmitry,

This is actually what I use to do this for several controls that our apps need. The only catch is if the user does not have sufficient rights to register the control. But we test for this also inside a second TRY ENDTRY block and inform the user as appropiate.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform