Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unhandled Exception in OCX
Message
De
19/08/2020 20:25:29
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01675817
Message ID:
01675827
Vues:
89
>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?

To avoid errors in the first place I seem to recall some people having success with:

- issuing DOEVENTS or DOEVENTS FORCE tactically in their code
- similarly with SYS( 1104 ) - although I think that's more for heavy SQL munging
- you could experiment with .AutoYield

Is there any control licensing which needs to be installed or configured?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform