View Single Post
  #5  
Old May 20th 08, 03:01 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Can't move items

Show your ItemAdd code, let's see if something jumps out as a problem.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Kiran" wrote in message
...
Consider the following scenario:
Folder 'X' is protected.
1. If mail1 is moved to folder 'X' from folder 'A' and password is
invalid,
then the mail1 is restored back to folder 'A'.
2. If mail1 is again moved to folder 'X' from folder 'A' and again
password
is invalid, then I get error 'Can't move items'. During Debug and
otherwise
also.
If mail2 is moved in step 2, instead of mail1, and password is invalid,
then
also the mail2 is restored.
The problem occurs if the same mail is moved in succession.

I am actually moving the parameter item in ItemAdd event handler of folder
'X'.

I also monitor all the folders' Items otherthan 'X' for ItemAdd event to
identify which item was removed from folder 'X'. If I donot monitor those
Items, this error does not occur. In that case I can not identify which
item
was removed from folder 'X'.

Please let me know if you need more information.

Regards,
Kiran


Ads