Results 1 to 1 of 1

Thread: Created ActiveX OCX. Cannot comunicate with within Access

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    1

    Angry 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)
    Attached Files Attached Files
    Last edited by Life-Saver; May 2nd, 2002 at 01:05 PM.
    weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width