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

read event not triggered



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 13th 06, 06:03 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default read event not triggered

Am Mon, 12 Jun 2006 12:06:58 +0200 schrieb Willem Peper:

Probably the item is read already if NewInspector fires. Why do you need the
Read event after NewInspector, or why donīt you call addContactMenu from
within NewInspector?

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


Hi,
I have some code that adds an extra menu in the menubar, when a contact is
opened.

Public WithEvents myOlInspectors As Outlook.Inspectors
Public WithEvents myContact As Outlook.ContactItem

Public Sub myOlInspectors_NewInspector(ByVal Inspector As

Outlook.Inspector)
If Inspector.CurrentItem.Class = olContact Then
Set myContact = Inspector.CurrentItem
End If
End Sub

Private Sub myContact_Read()
addContactMenu 'this is code in a module
End Sub


Sometimes it works fine and sometime it doesn't.
Closing Outlook and restarting it does not help.
Booting Window XP again does help.

addContactmenu works all the time when called manually.

Can somebody give me the reason for this strange behavior?
Thanks
Willem

XP Home, Outlook 2002, Office 2000

 




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
can a calander event to automaticaly reply during the event? How DG at uei Outlook - Calandaring 1 April 28th 06 07:45 AM
which event? [email protected] Outlook and VBA 1 April 6th 06 06:25 AM
which event? [email protected] Outlook - General Queries 0 April 5th 06 05:33 AM
Events not always triggered Jim Burke in Novi Outlook and VBA 1 January 30th 06 06:36 AM
Read Msgs Marked as Read? ERoss Outlook - General Queries 0 January 23rd 06 06:44 PM


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