Print Page | Close Window

like to get values of event, but get only a error

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=15682
Printed Date: 29 April 2024 at 1:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: like to get values of event, but get only a error
Posted By: Ditte
Subject: like to get values of event, but get only a error
Date Posted: 21 November 2009 at 5:14am
Hi,

I like to use the IsEditOperationDisabled.

I think I use the same syntax of the vb6 sample.

But I think, that I use a wrong object.
The lanquage I use is VDF15.0 (VisualDataflex).

Has someone a idea, what is wrong?


    Procedure OnComIsEditOperationDisabled Variant llOpParams Boolean ByRef llbDisableOperation  
....

Get Create U_cSigCjComCalendarEditOperationParameters to hoParams
Set pvComObject of hoParams to llOpParams
Get ComOperation of hoParams to iOperation
Get ComEventViews of hoParams to vEventViews
Get Create U_cSigCjComCalendarViewEvents to hoEventViews
Set pvComObject of hoEventViews to vEventViews
Get ComCount of hoEventViews to iCount
Get ComViewEvent of hoEventViews (iCount-1) to vEvent

Get Create U_cSigCjComCalendarEvent to hoCalEvents
Set pvComObject of hoCalEvents to vEvent
Get ComAllDayEvent of hoCalEvents to bAllDay //I get the error 4399
Send Destroy of hoCalEvents

Send Destroy of hoEventViews
Send Destroy of hoParams

End_Procedure

Thanks


-------------
Regards



Dittmar



Product: Xtreme SuitePro (ActiveX) 13.4.2

Platform: Win XP

Language: Visual Dataflex 16.1



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