Recurrence help |
Post Reply |
Author | |
tejsingh
Newbie Joined: 28 March 2007 Location: United Kingdom Status: Offline Points: 25 |
Post Options
Thanks(0)
Posted: 03 May 2007 at 12:00pm |
Hi
I am creating recurrence example similar to the example by codejock but i am having problems as it keeps throwing an error when i come to the line below: RecPattern.StartTime = TimeSerial(arTimes(0), arTimes(1), 0) The error is Object variable or with block variable not set (run time error: 91) I have defined RecPattern as Public RecPattern As CalendarRecurrencePattern do i have to set the variable? TJ |
|
tejsingh
Newbie Joined: 28 March 2007 Location: United Kingdom Status: Offline Points: 25 |
Post Options
Thanks(0)
|
To add to this i have found the problem but need it rectifying.
In vb when i type in Dim RecPattern as New ..... the calendarRecurrencePattern does not appear in the list of objects/methods/properties available how do i get this work cheers TJ |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
You can't create recurrence from nothing; it should have a corresponding Event linked. So far, creation will look like below:
-- WBR, Serge |
|
tejsingh
Newbie Joined: 28 March 2007 Location: United Kingdom Status: Offline Points: 25 |
Post Options
Thanks(0)
|
Cheers i got this working
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |