![]() |
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
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
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 |