Calendar control

Sahir Shah
May-2002

   Due to the conflict with different versions of mscal.ocx which pre-exist in the user's machine along with MSOffice the calendar control often does not display properly. In some cases the control does not load. Attempts to register or un-register this control invariably fail. Sometimes this problem is solved by deleting all versions of mscal.ocx and then doing a "repair installation" with the user's MSOffice CD. But this does not work with all cases. Behavior varies depending on the version of Office used. It is presumed that there will be no issues if the user has Office 97 but it could not be verified. With some versions of Office XP the problem is solved by just deleting the copy of mscal.ocx from the windows system folder and registering the version of mscal.ocx in the Office installation folder. In one case where the user had Office 2000 nothing seemed to work.  Considering the amount of time spent on solving this issue,  creating a pop-up calendar form, which does not use the calendar control , seemed like a good idea. 

Click here to download the source


Home