1 Attachment(s)
Created ActiveX OCX. Cannot comunicate with within Access
ok. I am making a prject in access. I needed a customisable calandar control, but didn't foind any. so i made my own.
the calandar looks like any normal calandar (this part is working properly), but i can also write in each cell (days) the number of tasks to do that day. (kinda looking like:
Tuesday Wednesday
______________
|3..........|4.........| ... so on and so forth
|8 tasks| 3 tasks |
|______|____.__|
(3 & 4 are the day of month froma usual calandar)
the thing is that when i place the activex Control on an access from, i can't call my procedure:
public sub SetNbTask(day as date, nbtask as integer)
NumberOfTask(day).caption = nbtask
end sub
and i can't generate the event "on click" of my control (for when i click on a day, i want a property of the control to be set to the active day's number of tasks) so then i can do:
AccessForm.numberoftask.caption = calandar.nbtasks
I have followed some tutorials, and books instructions, but its is not working... Am I missing something??? WHat am i doing wrong?
I have attached my control in ZIP format.
Thanks in advance.
Life-Saver (in need of saving)