Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Handler Causes 0X80020005: Type Mismatch
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00878994
Message ID:
00879462
Views:
12
I did not know that! I guess history was not a favored subject of the engineer(s) that built the date viewer!:-)

>Terry,
>
>Np.
>I suppose it's old news by now, but I also tripped across that the minimum date is 2001/01/01.
>Now * that * didn't make a lot of sense to me either.
>
>>Thanks!
>>>>>Terry,
>>>>>
>>>>>I didn't even notice an alternate approach.
>>>>>Just checked for error code 1426.
>>>>
>>>>Are you able to affirm that the 1426 came from just the Monthview?
>>>
>>>Terry,
>>>To the best of my knowledge:
>>>The form with the calendar has worked without a problem for many months when my base form * did not * have code in the error event.
>>>I added some standard type code in the error event that is working in other classes to my base form and the calendar started getting the 1426 error.
>>>Next, I modified the error event in the calendar form by copying the code from the base form and inserting a line that checks for 1426 before calling my on error handler and the form works again.
>>>The 'method' parameter that is trapped going into the error event is
>>>eform1.olecalendar.GetDayBold.
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform