![]() |
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've written an Outlook add-in in VS.net 2005, which when a user sends
an email it pops up a custom dialog. There are several buttons on the form, one of which is a cancel button. If the user pushes the cancel button then the dialog closes and it should cancel sending the email (i.e., present them back to their message). The way I am doing this is by setting the cancel variable (passed in ByRef to OnItemSend which is handling ItemSend event) which should cancel the sending. I've verified that if the cancel button is pushed then the cancel var is being set to true but unfortunately the email is still sent regardless. Can anyone think of what might be causing this? Please let me know if you need any more info. Matt |
Ads |
#2
|
|||
|
|||
![]()
We encountered this problem when rolloing out our addin. The code at the
following url fixed it for us. http://support.microsoft.com/kb/830519 Benjamin Strum ThinkTron Corporation " wrote: I've written an Outlook add-in in VS.net 2005, which when a user sends an email it pops up a custom dialog. There are several buttons on the form, one of which is a cancel button. If the user pushes the cancel button then the dialog closes and it should cancel sending the email (i.e., present them back to their message). The way I am doing this is by setting the cancel variable (passed in ByRef to OnItemSend which is handling ItemSend event) which should cancel the sending. I've verified that if the cancel button is pushed then the cancel var is being set to true but unfortunately the email is still sent regardless. Can anyone think of what might be causing this? Please let me know if you need any more info. Matt |
#3
|
|||
|
|||
![]()
Thanks - we're using Office 2003 so the bug should have been fixed
(according to that link) but there's some useful info in there. On Jun 12, 7:34 pm, bstrum wrote: We encountered this problem when rolloing out our addin. The code at the following url fixed it for us. http://support.microsoft.com/kb/830519 Benjamin Strum ThinkTron Corporation " wrote: I've written an Outlook add-in in VS.net 2005, which when a user sends an email it pops up a custom dialog. There are several buttons on the form, one of which is a cancel button. If the user pushes the cancel button then the dialog closes and it should cancel sending the email (i.e., present them back to their message). The way I am doing this is by setting the cancel variable (passed in ByRef to OnItemSend which is handling ItemSend event) which should cancel the sending. I've verified that if the cancel button is pushed then the cancel var is being set to true but unfortunately the email is still sent regardless. Can anyone think of what might be causing this? Please let me know if you need any more info. Matt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PLease CANCEL THIS | W. Bryan Acker | Outlook Express | 1 | November 12th 06 03:57 AM |
what is the key to cancel an email that is writing? | cfman | Outlook - General Queries | 3 | October 28th 06 08:42 PM |
Cancel Close | MeMatthew | Outlook - Using Forms | 4 | September 12th 06 01:18 PM |
how do I cancel the password? | davle | Outlook - General Queries | 1 | June 2nd 06 12:47 PM |
Item_Send Cancel | Rog | Add-ins for Outlook | 3 | May 3rd 06 11:45 PM |