Print Page | Close Window

Schedualed Recording

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=6075
Printed Date: 03 May 2024 at 11:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Schedualed Recording
Posted By: Khayyat71
Subject: Schedualed Recording
Date Posted: 10 January 2007 at 7:59pm

How can I use the CalendarPro to create audio scheduled recording?

The user should be able to set a starting date/time and an ending date/time for recording purposes.
 
How can this be implemented?
 



Replies:
Posted By: sserge
Date Posted: 11 January 2007 at 5:47pm
The calendar control has reminders feature.
a) When you set reminder for calendar event -- OnReminders notification will be fired.
b) When you receive OnReminders for some event, start recording.
c) Use event EndTime property to monitor when stop recording.
d) Also disable reminder for started event.
 
See our sample application.
 
Note that Calendar monitors reminders only while it is running.

Another way is use windows scheduled tasks. On calendar events create/change/delete add/update corresponding job in windows scheduled tasks. In this case scheduled tasks will be performed independently. Your application will have own user interface to manage these jobs. Also you need some app which will be runned by these jobs.
 
--
WBR,
Serge


Posted By: Khayyat71
Date Posted: 11 January 2007 at 6:21pm
Thanks for your reply.
 
I already purchased the CalendarPro for MFC.
Which sample application you are talking about?
Also, I can't find OnReminders...
 


Posted By: sserge
Date Posted: 11 January 2007 at 6:27pm
For MFC version see for notification XTP_NC_CALENDAR_ON_REMINDERS.

I was actually talking about VB sample :)

But take a look at CalendarDemo MFC sample, look into CalendarDemoView.cpp for how it handles this notification.

You'll have to uncomment a few lines -- search for them with OnReminders keyword.

--
WBR,
Serge


Posted By: Khayyat71
Date Posted: 11 January 2007 at 7:06pm
How to monitor Event Endtime property?
Do you mean that I need to write up my own code to do so?
 
 
 


Posted By: sserge
Date Posted: 12 January 2007 at 3:26am
Yep, for sure. This is just a property which stores a time value.

--
WBR,
Serge


Posted By: Khayyat71
Date Posted: 12 January 2007 at 1:40pm
Well, I changed the remindersManager source code to adapt what I need.
And It worked.. ;-)
 
Thanks alot



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