Thread: Before Send
View Single Post
  #3  
Old October 16th 08, 09:23 PM posted to microsoft.public.outlook.program_forms
BigDubb
external usenet poster
 
Posts: 21
Default Before Send

Thanks.

Actually I was able to get the Application object from the AppointmentItem
and add a handler on the ItemSend event, which is exactly what I was looking
for.

One caveat with this though, it seems to reload the send event when a
messagebox is shown, to notify the user as to why the request can't be sent.



"Ken Slovak - [MVP - Outlook]" wrote:

That's because there isn't such an event. However, the item.Send() event
does have a Cancel argument. Set that to True and that will cancel the send.

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


"BigDubb" wrote in message
...
How would one prevent sending of an appontment object if all of the
required
fields haven't been completed? I cant seem to find a before send event to
trap on.

Thanks.



Ads