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

ItemRead() and ItemRemoved() are not intuitive



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 16th 07, 07:24 AM posted to microsoft.public.outlook.program_vba
George Hester
external usenet poster
 
Posts: 54
Default ItemRead() and ItemRemoved() are not intuitive

If I put a msg into a folder where I am capturing these events I get the
itemRead event. Since there are no other msgs in that folder when I remove
the msg I do NOT get the itemRemove event. That is not intuitive. If I
then add the message back to the folder I do NOT get the itemRead event.
That is NOT intuitive. Let's leave the msg there and add a different msg.

If I put a second different msg into the folder I get the itemRead event.
When I remove the item from the folder I get the itemRemove event. Now THAT
is intuitive. But now if I add the msg back to the folder I do NOT get the
itemRead event. That is NOT intuitive.

Since I am unable to predict the outcome for what seems intuitively should
be the result of performing these actions, can somebody please explain to me
what more needs to be known besides the intuitive idea of Read and Remove to
explain this behavior? Thanks.

--

George Hester
_________________________________


  #2  
Old February 16th 07, 07:52 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default ItemRead() and ItemRemoved() are not intuitive



ItemRemove doesn't fire if you remove the last item. You need to trap the
Explorer's SelectionChange event additionally.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

Am Fri, 16 Feb 2007 01:24:56 -0500 schrieb George Hester:

If I put a msg into a folder where I am capturing these events I get the
itemRead event. Since there are no other msgs in that folder when I

remove
the msg I do NOT get the itemRemove event. That is not intuitive. If I
then add the message back to the folder I do NOT get the itemRead event.
That is NOT intuitive. Let's leave the msg there and add a different msg.

If I put a second different msg into the folder I get the itemRead event.
When I remove the item from the folder I get the itemRemove event. Now

THAT
is intuitive. But now if I add the msg back to the folder I do NOT get

the
itemRead event. That is NOT intuitive.

Since I am unable to predict the outcome for what seems intuitively should
be the result of performing these actions, can somebody please explain to

me
what more needs to be known besides the intuitive idea of Read and Remove

to
explain this behavior? Thanks.

--

George Hester
_________________________________

 




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
Intuitive software! Get to work on it!!! Annoyed in L.A. Outlook - Calandaring 3 April 26th 06 11:05 PM


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