Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ole error code 0x, Trappable?
Message
De
15/04/2006 16:28:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01113807
Message ID:
01113894
Vues:
16
>>> You need to find out the registry key that gets created when the control is registered and check for it.
>
>I don't think I was very clear. I still want to display the form, it does more than just the OLE control. My problem is how to avoid the error message for the OLE control when displaying for form.
>
>One way would be to remove the OLE control and add it to the form when it is valid. I was hoping for a way to keep the OLE control on the form but be able to bypass the error message. That I can't seem to do.

You will have to add the active-x control at run-time and then position (remember to set .visible=.T. for the control) if if is available on the machine. You can check the registry for the entry to determine if it is available. You can also use my previous post suggestion on trapping the error. You cannot add at design time since the form is trying to load the control and you do not have a way to trap and prevent the load attempt.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform