Print Page | Close Window

Some events unavailable in Access

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=12866
Printed Date: 07 October 2024 at 3:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Some events unavailable in Access
Posted By: Muesli
Subject: Some events unavailable in Access
Date Posted: 05 December 2008 at 4:41pm
Why are certain Calendar 12.1.1 events unavailable in Access XP (2002) (under WinXP SP2) while other are.

The error is:
Procedure declaration does not match description of event or procedure having same name

Unavailable events are for example:
Private Sub CalendarControl_IsEditOperationDisabled(ByVal OpParams As CalendarEditOperationParameters, ByRef bDisableOperation As Boolean)
Private Sub CalendarControl_EventChangedEx(ByVal pEvent As CalendarEvent)

No problem though with:
Private Sub CalendarControl_DblClick()
Private Sub CalendarControl_MouseMove()
Private Sub CalendarControl_MouseUp

Several other users of this forum seem to have stubble upon this, but no sultion has been presented yet.

Any ideas ?

Ptrick









Replies:
Posted By: SuperMario
Date Posted: 10 December 2008 at 12:53pm
They work for me, seems the declaration is wrong:

Private Sub CalendarControl1_IsEditOperationDisabled(ByVal OpParams As Object, bDisableOperation As Boolean)
Private Sub CalendarControl1_EventChangedEx(ByVal pEvent As Object)

Maybe you cut\paste from VB6 sample?





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net