![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I know there are some Event handler for Open, Read, Write, Close and so on.
But I wonder "End Time" can make event too. For example, I made a Appointment. subject : "Check Call" Start Time : Fri 1/18/2008 12:00pm End Time : Fri 1/18/2008 12:30pm I want to run some code at 12:30pm that means at "End Time" automatically. Is it possible? How can I do? |
Ads |
#2
|
|||
|
|||
![]()
Not in form code. In Outlook VBA or a COM addin you could set a reminder at
end time and intercept the ReminderFire event and find if it's for the end time of an appointment. That's the only way I can think of to do that. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "soworl" wrote in message ... I know there are some Event handler for Open, Read, Write, Close and so on. But I wonder "End Time" can make event too. For example, I made a Appointment. subject : "Check Call" Start Time : Fri 1/18/2008 12:00pm End Time : Fri 1/18/2008 12:30pm I want to run some code at 12:30pm that means at "End Time" automatically. Is it possible? How can I do? |
#3
|
|||
|
|||
![]()
that means I have to set the reminder, objApt.ReminderSet = True.
And it cause the item open.right? If I don't want to see that item but run the code, objRems(i).Dismiss and run the code after catch the ReminderFire event. Dose it make sence? Thank you for your quick & useful reply. soworl "Ken Slovak - [MVP - Outlook]" wrote: Not in form code. In Outlook VBA or a COM addin you could set a reminder at end time and intercept the ReminderFire event and find if it's for the end time of an appointment. That's the only way I can think of to do that. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "soworl" wrote in message ... I know there are some Event handler for Open, Read, Write, Close and so on. But I wonder "End Time" can make event too. For example, I made a Appointment. subject : "Check Call" Start Time : Fri 1/18/2008 12:00pm End Time : Fri 1/18/2008 12:30pm I want to run some code at 12:30pm that means at "End Time" automatically. Is it possible? How can I do? |
#4
|
|||
|
|||
![]()
Yes, that makes sense.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "soworl" wrote in message ... that means I have to set the reminder, objApt.ReminderSet = True. And it cause the item open.right? If I don't want to see that item but run the code, objRems(i).Dismiss and run the code after catch the ReminderFire event. Dose it make sence? Thank you for your quick & useful reply. soworl |
#5
|
|||
|
|||
![]()
Just thinking out loud: could you use the System Timer to set a timer ==
duration and catch the event it fires? That way you would not need to actually modify the item at all. -- Thanks, John Guin OneNote Test Team http://blogs.msdn.com/johnguin "soworl" wrote: that means I have to set the reminder, objApt.ReminderSet = True. And it cause the item open.right? If I don't want to see that item but run the code, objRems(i).Dismiss and run the code after catch the ReminderFire event. Dose it make sence? Thank you for your quick & useful reply. soworl "Ken Slovak - [MVP - Outlook]" wrote: Not in form code. In Outlook VBA or a COM addin you could set a reminder at end time and intercept the ReminderFire event and find if it's for the end time of an appointment. That's the only way I can think of to do that. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "soworl" wrote in message ... I know there are some Event handler for Open, Read, Write, Close and so on. But I wonder "End Time" can make event too. For example, I made a Appointment. subject : "Check Call" Start Time : Fri 1/18/2008 12:00pm End Time : Fri 1/18/2008 12:30pm I want to run some code at 12:30pm that means at "End Time" automatically. Is it possible? How can I do? |
#6
|
|||
|
|||
![]()
Do you mean run the code and then make sleep inside code?
Yes, I think that's the another option if I cannot catch the event. Because I have so many appointments,I'm afraid to make memory busy. Thank, soworl "John Guin" wrote: Just thinking out loud: could you use the System Timer to set a timer == duration and catch the event it fires? That way you would not need to actually modify the item at all. -- Thanks, John Guin OneNote Test Team http://blogs.msdn.com/johnguin "soworl" wrote: that means I have to set the reminder, objApt.ReminderSet = True. And it cause the item open.right? If I don't want to see that item but run the code, objRems(i).Dismiss and run the code after catch the ReminderFire event. Dose it make sence? Thank you for your quick & useful reply. soworl "Ken Slovak - [MVP - Outlook]" wrote: Not in form code. In Outlook VBA or a COM addin you could set a reminder at end time and intercept the ReminderFire event and find if it's for the end time of an appointment. That's the only way I can think of to do that. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "soworl" wrote in message ... I know there are some Event handler for Open, Read, Write, Close and so on. But I wonder "End Time" can make event too. For example, I made a Appointment. subject : "Check Call" Start Time : Fri 1/18/2008 12:00pm End Time : Fri 1/18/2008 12:30pm I want to run some code at 12:30pm that means at "End Time" automatically. Is it possible? How can I do? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to catch delete event(appointments) in outlook2003 us c# | abdullah baig | Outlook - Using Forms | 0 | January 15th 08 09:37 AM |
Setting the reminder time after start time of event | hacori | Outlook - Calandaring | 2 | November 19th 07 11:02 PM |
want appointment start time to show in calendar, but not end time | Arlene | Outlook - Calandaring | 0 | October 18th 06 04:53 PM |
catch the mail item on_focus event | john | Outlook and VBA | 1 | September 28th 06 01:33 PM |
Allow Time Zone Changes Without Changing Calendar Appointment Time | TE | Outlook - Calandaring | 1 | June 19th 06 02:42 AM |