Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Schedualed Recording
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Schedualed Recording

 Post Reply Post Reply
Author
Message
Khayyat71 View Drop Down
Newbie
Newbie
Avatar

Joined: 06 January 2007
Location: Jordan
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Khayyat71 Quote  Post ReplyReply Direct Link To This Post Topic: Schedualed Recording
    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?
 
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Khayyat71 View Drop Down
Newbie
Newbie
Avatar

Joined: 06 January 2007
Location: Jordan
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Khayyat71 Quote  Post ReplyReply Direct Link To This Post 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...
 
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Khayyat71 View Drop Down
Newbie
Newbie
Avatar

Joined: 06 January 2007
Location: Jordan
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Khayyat71 Quote  Post ReplyReply Direct Link To This Post 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?
 
 
 
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2007 at 3:26am
Yep, for sure. This is just a property which stores a time value.

--
WBR,
Serge
Back to Top
Khayyat71 View Drop Down
Newbie
Newbie
Avatar

Joined: 06 January 2007
Location: Jordan
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Khayyat71 Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2007 at 1:40pm
Well, I changed the remindersManager source code to adapt what I need.
And It worked.. ;-)
 
Thanks alot
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.