A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Calandaring
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Can I catch the event when the End Time comes on Appointment?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 17th 08, 10:20 PM posted to microsoft.public.outlook.calendaring
soworl
external usenet poster
 
Posts: 34
Default Can I catch the event when the End Time comes on Appointment?

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  
Old January 17th 08, 11:27 PM posted to microsoft.public.outlook.calendaring
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Can I catch the event when the End Time comes on Appointment?

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  
Old January 18th 08, 12:06 AM posted to microsoft.public.outlook.calendaring
soworl
external usenet poster
 
Posts: 34
Default Can I catch the event when the End Time comes on Appointment?

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  
Old January 18th 08, 12:30 AM posted to microsoft.public.outlook.calendaring
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Can I catch the event when the End Time comes on Appointment?

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  
Old January 18th 08, 06:36 AM posted to microsoft.public.outlook.calendaring
John Guin[_2_]
external usenet poster
 
Posts: 46
Default Can I catch the event when the End Time comes on Appointment?

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  
Old January 18th 08, 07:46 PM posted to microsoft.public.outlook.calendaring
soworl
external usenet poster
 
Posts: 34
Default Can I catch the event when the End Time comes on Appointment?

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 01:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.