Something that needs elaboration is a quirk involved in adding this to your own Projects if they are not named Project1.

This stems from the fact that Kal.ctl uses instances of KalDayCell.ctx, but in the files provided in the attachment these are internally named "Project1.KalDayCell" due to the way VB6 works. If this whole thing had been created as an OCX then we wouldn't have this, but I wanted to provide it as includeable source modules to avoid presenting you with another OCX to deploy.

So here is what you want to do:
  • Open your Project in the VB6 IDE.
  • Copy the Kal*.* files to your Project's folder (or maybe a Kal subfolder of that folder).
  • Use Project|Add File... in the IDE to add KalDayCell.ctl to your Project.
  • Look at your project, and note the Project Name you used. You can also find this on the Name= line in the .vbp file.
  • Open Kal.ctl in Notepad. Do a find and replace, changing all Project1 occurrences to your Project's name! Save and exit Notepad.
  • Now go back to the IDE and add Kal.ctl to your Project.

That might help some of you by taking care of the "broken linkage" you'd otherwise run into when trying to open your Project in the IDE.