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

S

soworl

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?
 
K

Ken Slovak - [MVP - Outlook]

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.
 
S

soworl

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
 
J

John Guin

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
 
S

soworl

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top