Been working frantically!
All programs run perfectly when run in debug mode.
Not EVERY program will crash; all "Menu" type programs are OK. Placed a "msgbox" as first line of the App_Start; never got to message so figured it had to be in the form setup routine. Since 2012 was a date/year, i removed the Calendar control from the form and all references to the Calender object from the source code. Compiled the program and it executed perfectly (albiet minus the calendar in the form).
Put the Calendar back into the form, compiled and program crashed.
Unfortunately, I have over 60 programs with calendars in them. I build my forms at run time and since you cannot add a calendar at run time, I have one, invisible, on every form of the program that I use as a template for every program.
Any thoughts why the Calendar Object doesn't like Leap Year Day? Any solutions???
Regards
Ed Sharp
All programs run perfectly when run in debug mode.
Not EVERY program will crash; all "Menu" type programs are OK. Placed a "msgbox" as first line of the App_Start; never got to message so figured it had to be in the form setup routine. Since 2012 was a date/year, i removed the Calendar control from the form and all references to the Calender object from the source code. Compiled the program and it executed perfectly (albiet minus the calendar in the form).
Put the Calendar back into the form, compiled and program crashed.
Unfortunately, I have over 60 programs with calendars in them. I build my forms at run time and since you cannot add a calendar at run time, I have one, invisible, on every form of the program that I use as a template for every program.
Any thoughts why the Calendar Object doesn't like Leap Year Day? Any solutions???
Regards
Ed Sharp