Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unhandled Exception in OCX
Message
 
 
À
19/08/2020 05:59:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01675817
Message ID:
01675819
Vues:
94
>>I am getting an unhandled exception in an ActiveX control, which seems to be difficult to avoid. I only wonder if there is a way in VFP from the calling method to avoid showing the message. The messagebox is a FATAL ERROR messagebox created by the ActiveX, but I was hoping to have something similar like in Word OLE to switch messages off. In the ActiveX there is no such property to disable output.
>>Does someone know of a workaround?
>
>Try-catch-endtry?

The error message is produced by the ActiveX control itself, therefore a Try/Catch does not have any effect.
Christian Isberner
Software Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform