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!