Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Handler Causes 0X80020005: Type Mismatch
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Error Handler Causes 0X80020005: Type Mismatch
Divers
Thread ID:
00878994
Message ID:
00878994
Vues:
57
We have this form that is used to pick dates.
The MsConCtl2.Monthview.2 oleclass is on this form.
The user can click on a date to select it or scroll backwards and forwards thru the months.
The control used to work OK as long as we did not deviate from the standard VFP error handler. In other words, no 'on error' statement in the application.
As soon as we placed code for our own error handler in the 'on error' method of the form, the scrolling back and forward causes an '0x80020005: type mismatch'. The 'method' of the error appears to be 'GetDayBoldEvent' although we are not using that property.
If we replace our own code with 'On error' the scrolling works OK again.
Is something happening in the OLE black box that I am not aware of?
TIA!
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform