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

Outlook Add-in + Sequence of Events..



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 5th 06, 06:10 PM posted to microsoft.public.outlook.program_addins
Sanjay
external usenet poster
 
Posts: 21
Default Outlook Add-in + Sequence of Events..

I an trying to get a sense of the sequence of events that are fired
while creating and sending a new mail item. I am using Outlook 2003
SP2 + VSTO.

I have an Add-In that has the following events wired up.
Inspector_NewInspector
MailItem_Open
MailItem_Send
MailItem_Close
Inspector_CloseInspector

Here is the scenerio that confuses me. When I create a new mail, add
the recipients, subject, message body and then close the inspector.
Outlook fires the MailItem_Close and then asks if the user would like
to save the changes. Now if you hit cancel here, the inspector remains
open but the inspector_Close event gets triggered.


I have to place the cleanup code somewhere and now I'm not sure where
the correct location would be.

Any help will be appreciated.

Thanks.

 




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 do I add holiday events beyond Dec. 31, 2005? Doug Slattery Outlook - Calandaring 2 April 14th 06 02:25 AM
fail to deliver a group mail --- "503 BAD SEQUENCE OF COMMANDS" SpringFlower Outlook - General Queries 1 April 6th 06 04:45 AM
unable to add events to my calendar. Lee Richardson Outlook - Calandaring 1 March 8th 06 08:09 PM
Can I add colour to events in outlook calender 2000? Sue Mosher [MVP-Outlook] Outlook - Calandaring 0 January 18th 06 11:19 PM
Collating sequence seems strange Jim K Outlook - Using Contacts 2 January 17th 06 09:44 PM


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