... when I then exit the main program, that error appears. If I don't open the calendar, and exit the main program, no error appears. Thus, we can conclude the calendar class is the cause of the problem. There are two ActiveX components created in the program, ::ocalex and ::oDtPick. In the End( ...