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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

OnItemSend cancel problem



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 12th 07, 06:20 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 2
Default OnItemSend cancel problem

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  
Old June 12th 07, 08:34 PM posted to microsoft.public.outlook.program_addins
bstrum
external usenet poster
 
Posts: 19
Default OnItemSend cancel problem

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  
Old June 13th 07, 11:08 AM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 2
Default OnItemSend cancel problem

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


All times are GMT +1. The time now is 12:49 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.