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

open event problem



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old October 15th 07, 10:29 AM posted to microsoft.public.outlook.program_vba
Kenny
external usenet poster
 
Posts: 22
Default open event problem

Hi,
I made a function which handles the open event for a mailitem
Seems to work pretty well, but now that I look closely, I found out that
it's not working that well.

Some time I will see that the function is launch and other time not for no
reason I just keep clicking on different mailitem and work and not work, here
is my function

Private Sub oMailItem_Open(ByRef cancel As Boolean) Handles oMailItem.Open
cancel = False
Try
If (oMailItem.ConversationIndex "") Then
If (My.Settings.UseSocket) Then
oSender.MailOpened(oMailItem)
End If
End If
Catch ex As SystemException
oLog.Add(ex.Message, "SystemException", "mregulatorAddin.vb",
"oMailItem_Open")
End Try
End Sub
 




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 not open event bob b Outlook - Calandaring 2 April 5th 07 04:12 PM
Problem with CommandBarComboBox Change Event (Event fires only once) M. Khalid Farooq Add-ins for Outlook 1 October 19th 06 02:34 PM
All Day event problem [email protected] Outlook - Calandaring 0 October 6th 06 02:59 PM
Item Open event does not occurs every time sfradel Add-ins for Outlook 1 September 2nd 06 04:33 PM
I can not open an event in Calendar (Office 2003) Tom Outlook - Calandaring 4 May 8th 06 09:17 PM


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