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

ContactItem Write event not getting called



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 18th 07, 09:52 PM posted to microsoft.public.outlook.program_addins
Dave
external usenet poster
 
Posts: 15
Default ContactItem Write event not getting called

Anyone know how to do this?

In my COM addin using outlook 2000 I have a Write and a Close event for the
contact item and the Close event gets called, but the Write event never gets
called. Am I doing something wrong?

Private WithEvents objContact As Outlook.ContactItem

Private Sub objContact_Write(Cancel As Boolean)

End Sub

Private Sub objContact_Close(Cancel As Boolean)


End Sub

Dave


Ads
  #2  
Old April 19th 07, 06:44 AM posted to microsoft.public.outlook.program_addins
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default ContactItem Write event not getting called



The Write event should be called if the item has changed and the user
chooses to save it. If the user first clicks to close the item, then saves
the item from the upcoming dialog then the Write event fires after the Close
event.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Quick-Cats - Categorize Outlook data:
http://www.vboffice.net/product.html...&lang=en&pub=6

Am Wed, 18 Apr 2007 15:52:19 -0500 schrieb Dave:

Anyone know how to do this?

In my COM addin using outlook 2000 I have a Write and a Close event for

the
contact item and the Close event gets called, but the Write event never

gets
called. Am I doing something wrong?

Private WithEvents objContact As Outlook.ContactItem

Private Sub objContact_Write(Cancel As Boolean)

End Sub

Private Sub objContact_Close(Cancel As Boolean)


End Sub

Dave

 




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
I have 2 folders both called Contacts. How do I get back to one? baffled_ken Outlook - Using Contacts 4 February 27th 07 10:33 PM
Write event not firing in list view Rick H Add-ins for Outlook 2 February 21st 07 02:53 PM
Write RTF-Body on ItemSend event Thomas Add-ins for Outlook 2 February 12th 07 11:22 AM
DBX file called Folders Ken Outlook Express 2 November 12th 06 07:39 PM
How to write new calendar event from internet application? jhajko via OfficeKB.com Outlook - Calandaring 2 May 9th 06 03:56 PM


All times are GMT +1. The time now is 09:12 AM.


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.